Dynamic memory allocation

FAQ, getting help, user experience about VSuite Ramdisk
Post Reply
kperry
Level 1
Level 1
Posts: 4
Joined: Wed Jul 15, 2009 9:03 am

Dynamic memory allocation

Post by kperry »

What does it do and when should one use it?

Also, the images on your site haven't been updated to reflect the changes to the configuration pages.
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: Dynamic memory allocation

Post by Support »

Dynamic memory allocation:
If this option is enabled, software allocate minimum size of RAM for ramdisk instead of the whole size of RAM when ramdisk is created. For eg, if a ramdisk's capacity is 1024MB, it may utilize only 32MB or 96MB RAM at first, instead of 1024MB RAM. When data is written to ramdisk and current allocated size of RAM is not enough to hold all the data, then software will allocate another 32MB RAM (The incremental unit size is 32MB). The maximum allocated RAM still is the size of the ramdisk. This option just make software allocate RAM when necessary. It is useful when you create a ramdisk with large size, but at normal time there's few data on ramdisk and a lot of free space left.

Limitation:
1) It only allocates RAM incrementally, can't release RAM even if data on RAM is not used any more. For eg, if you copy a file with 100MB size to ramdisk, ramdisk may allocate 128MB RAM for this file. However when you delete this file, this 128MB RAM will not be released. (later, we will enable "Clear Content" button which will format ramdisk and release RAM)
2) This option only applies to OS Visable Memory, not to Invisable Memory.
3) If "Enable Image File" is selected and the format of image file is Direct Mirror without "Quick Load" option or Compressed Mirror, then this feature is no effect. Because data will be read from image file and then write to ramdisk, leading to allocate RAM unit.

Regarding our website:
We are sorry we have not updated our website yet for new version, we are fixing some bugs in new version and write help article for new features in the new version. Will update it soon.
kperry
Level 1
Level 1
Posts: 4
Joined: Wed Jul 15, 2009 9:03 am

Re: Dynamic memory allocation

Post by kperry »

Thanks - makes perfect sense. I think (and I'm not on the machine I use the Pro Version on) that the Dynamic Memory tickbox is still tick-able even if the RAM disk is using Invisible Memory.
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: Dynamic memory allocation

Post by Support »

yes, this option is tickable even if using IM, but internally it's no effect to IM. The reason why we keep it tickable is that we allow creating a ramdisk using invisible and visible memory at the same time.
Post Reply