I needed to increase the maximum size of my java heap to around 2048mb but I can't seem to get it working in Windows 7. At the moment, running nothing but 1 instance each of Google Chrome and Windows Task Manager, I am using around 800mb of memory. Windows has cached another 3200mb or so for superfetch/intelligent caching/whatever. I'm used to this, and currently have *0* mb of memory free.
When I fire up a java app, it will of course release the cached memory that it needs. But when increasing the max heap size past 1024mb, java is unable to start because of some memory allocation error. What gives?
If you don't mind me asking, which application requires more than 1024mb that you're trying to run?
Any scientific or mathematical stuff (I put graphics in mathematical stuff) can requires either a bunch of memory/ disk space. Memory is prefered for obvious speed reason. I also had this kind of problem with a java application I made to solve a 'simple' problem: optimizing equipment for a character dependings on the stats he wanted to achieve. -Xmx2048m does not work ?