Jump to content











Photo
- - - - -

Dynamic Memory Management


  • Please log in to reply
65 replies to this topic

#51 v77

v77

    Silver Member

  • Team Reboot
  • 566 posts
  •  
    France

Posted 23 November 2014 - 03:23 PM

No, Windows XP 32 bit handles 4 GB RAM.
http://msdn.microsof...mits_windows_xp

 
But according to description of PAE:
"Total physical address space is limited to 4 GB on these versions of Windows."
 
This is rather different, because of the address spaces required by the devices.
Anyhow, I have found no way to use this space with awealloc.

#52 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14950 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 23 November 2014 - 03:54 PM

Hmmm. :dubbio:

Time to patch the kernel? :w00t: :ph34r:

 

http://iknowu.duckdn...e_PAE_Limit.htm

 

Or get back to SP1? :frusty:

http://www.geoffchap...ense/memory.htm

 

:duff:

Wonko



#53 v77

v77

    Silver Member

  • Team Reboot
  • 566 posts
  •  
    France

Posted 23 November 2014 - 05:02 PM

 

So much time lost because of that... I was not even sure to have once succeeded...

Indeed, I have a machine with XP without service pack and this works. Thanks!
Just had to add /PAE to the boot.ini and the 4 GB are here, usable with awealloc.



#54 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14950 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 23 November 2014 - 05:48 PM

Thanks!
Just had to add /PAE to the boot.ini and the 4 GB are here, usable with awealloc.

Good :).

Now, 100 times! :w00t:

http://www.addletter...ans "worse" ...

 

:lol:

 

:duff:

Wonko



#55 friske

friske

    Frequent Member

  • Advanced user
  • 246 posts
  •  
    Italy

Posted 23 December 2014 - 10:32 PM

if use:

SetProcessWorkingSetSize( _RamDyn_ HANDLE, -1, -1)

of

SetProcessWorkingSetSize( _RamDyn_ HANDLE)

i see process release ram.

Do it is a way to force ramdisk release ram manually, if i not use swap file?



#56 v77

v77

    Silver Member

  • Team Reboot
  • 566 posts
  •  
    France

Posted 27 December 2014 - 02:47 PM

No sorry, as I said previously, there is currently no way to do that manually.
But implementing that should not be too difficult, since we just need something that writes the value "0" in the empty space of the file system. In fact, any tool intended to "wipe" the empty space by writing 0 could be used.
However, all this does not disable the automatic cleanup function of RamDyn. Therefore, you may want to change the parameters of the cleanup function to make it work less often.

I am currently a bit busy but I keep that in my "todo" list.



#57 friske

friske

    Frequent Member

  • Advanced user
  • 246 posts
  •  
    Italy

Posted 06 January 2015 - 12:52 AM

When i use "-e" imdisk switch, RamDyn crash:
"The instruction at "0x00401e44" referenced memory at "0x009a1000". The memory could not be read."
Do it not possible to use -e switch?

#58 v77

v77

    Silver Member

  • Team Reboot
  • 566 posts
  •  
    France

Posted 06 January 2015 - 12:51 PM

RamDyn is designed for a constant volume size. Therefore, changing that can lead to some issues.

Handling that could be somewhat difficult, so for now, you should not rely on that.



#59 friske

friske

    Frequent Member

  • Advanced user
  • 246 posts
  •  
    Italy

Posted 24 January 2015 - 12:09 PM

p.s.: Better checking not depend from RamDyn.
bypass this please.

#60 friske

friske

    Frequent Member

  • Advanced user
  • 246 posts
  •  
    Italy

Posted 20 March 2016 - 04:55 AM

Do "Arsenal Image Mounter" support DMM or RamDyn support it?



#61 v77

v77

    Silver Member

  • Team Reboot
  • 566 posts
  •  
    France

Posted 20 March 2016 - 07:28 AM

Do "Arsenal Image Mounter" support DMM or RamDyn support it?

No. And making RamDyn compatible with AIM would be a big work, so not planned for now.

#62 nguyentu

nguyentu

    Frequent Member

  • Advanced user
  • 102 posts
  •  
    Vietnam

Posted 05 January 2017 - 11:39 AM

I'm very concerned about this. My PC used only 2.8GB of RAM on Windows 10 32-bit. How I can use the remaining amount of RAM to create a RAMdisk?



#63 v77

v77

    Silver Member

  • Team Reboot
  • 566 posts
  •  
    France

Posted 05 January 2017 - 01:36 PM

I'm very concerned about this. My PC used only 2.8GB of RAM on Windows 10 32-bit. How I can use the remaining amount of RAM to create a RAMdisk?

 

Not with imdisk. Imdisk only handles the managed memory.
You need another tool. A quick search show that this one should do the job, but it's not free.


  • nguyentu likes this

#64 earnie

earnie
  • Members
  • 4 posts
  •  
    Germany

Posted 14 August 2019 - 02:48 PM

hi

 

I'm trying to set up a dynamic ramdisk via command line / programmatically.

I installed Imdisk Toolset (latest version) by executing the installer.

Via RamDiskUI.exe I'm able to set up a dynamic ramdisk just fine.

However, using the commands mentioned in this thread

 

RamDyn "Z:" RD 1048576 10 10 10 10 & timeout 1 & imdisk -a -t proxy -o shm -f RamDynRD -m "Z:"

 

I'm getting the error

 

"Creating device...
Error creating virtual disk: The system cannot find the file specified."

 

I already tried an older version (the oldest I was able to find was v2016-12-31) but same issue there.

 

Was the "inofficial" option to create a dynamic ramdisk removed in the past? Or am I doing anything wrong?

 

OS is Windows 10 1903 X64.

 

Many thanks!



#65 v77

v77

    Silver Member

  • Team Reboot
  • 566 posts
  •  
    France

Posted 14 August 2019 - 03:37 PM

That's an old topic, and syntax of RamDyn has a bit evolved.
Now, RamDyn no longer requires additionnal commands.

Just click on RamDyn.exe (or start it without argument) to get syntax help.

For example, from an elevated command prompt:
RamDyn.exe Z: 1048576 -1 0 20 "-p \"/fs:NTFS /q /y\""
will create a NTFS volume of 1GB with TRIM commands (don't forget to escape the quotes with \ ).

As TRIM commands do not work for FAT volumes, you can try:
RamDyn.exe Z: 1048576 10 10 10 0 20 "-p \"/fs:FAT /q /y\""


  • earnie likes this

#66 earnie

earnie
  • Members
  • 4 posts
  •  
    Germany

Posted 14 August 2019 - 06:37 PM

Hi v77

 

yes I knew it was old, but I was unable to find any other documentation about this topic.

 

I tried it and it works like a charm, even on Windows PE.

 

Many thanks for your quick reply, and for your and Olof's fantastic tools!






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users