View Single Post
  #12 (permalink)  
Old 02-11-2007, 03:24 AM
helmi_c's Avatar
helmi_c
Retired Staff
Offline
 
Join Date: Jan 2007
Posts: 128
Reputation: 769
helmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by Sogarth
You'd be correct in that attempting to get the persistent RamDisk would be very difficult. However, the non-persistent RamDisk can be set up pretty easily. The problem is that it uses the same 32 MB that the rest of the operating system, Today DLLs, SIP DLLs, etc. use, so it's difficult to have a RamDisk of any appreciable size if you have other things running. I was trying to have the RamDisk allocate memory outside of that 32 MB by attempting to use VirtualAlloc() instead of LocalAlloc(), but I probably missed something, since when I tried it out, it didn't work for me...

If anybody around here knows more about Windows Mobile programming than I do, I'd be happy to try and help get it to work (I'm more of a Unix programmer than a Windows programmer!), since I'd love to have all of my caching on a RamDisk than this slow flash memory stuff.
I think ramdisk is great for a big memory device (128mb or so) for system with 64mb? that will eat some precious memory for other/better purpose, and all of that for none persistance memory?, thats why I dont think its worted to convert to ramdisk... well just me...
Reply With Quote