Click to See Complete Forum and Search --> : Java XMS Memory in XP


dglienna
April 20th, 2007, 08:16 PM
I have a friend who is using XP to display radiology images that are quite large. He has 4g of memory, but XP only sees 3gb.

The problem is that he has an app that needs lots of XMS memory. On my machine, I typed this to the java settings:
-Xms 512m
I have a gig on my laptop, but when I tried to load a page that contained JAVA, it wouldn't work, because JAVA had crashed!

You can set the console to display automatically, so you can track memory usage (m) or run garbage collection (g) manually.

I change it back, and restart the browser. The console says that it's using 5,000K.

My buddy wants to get at least 1.2g of memory, but he can't. Using Internet Explorer, the console uses 500mb, Firefox uses 800mb.

He can't use any more than that!

He's tried different brands of memory, as well as 4x1 and 2x2 to get 4mb. Flashed the BIOS to Asus' Latest as well.

Any ideas?

PeejAvery
April 21st, 2007, 10:14 AM
The problem isn't with the memory or BIOS. The problem is that a web browser was never created to load anything so large. Plus, Java is a very slow browser element. Now if you add those together, I don't think there is a way to solve that.

dglienna
April 21st, 2007, 12:10 PM
No, the browser was just an example that shows that it uses different abounts of RAM, but never near what is needed.

The JAVA app is not a browser app. It is independent, and specific to the field. The problem could probably be resolved on a 64 bit system, but we're trying to band-aid this system.

Gamers forums say that you can get about 1/2 of available RAM as XMS, but we can't allocate anywhere near 1/2 of the 3g that XP sees.

dglienna
April 21st, 2007, 09:19 PM
Had to give a star for this post. It appears to have solved the problem, but I can't test it until working hours.

http://tek-tips.com/viewthread.cfm?qid=1359229&page=1

dglienna
April 24th, 2007, 07:58 PM
Oops. No cigar! Turns out that it IS a browser app. He wanted to get it working so they didn't have to update a bunch of field pc's. I thought that would do it, but it showed no differences in Java Memory Usage.

Start JAVA and select the console each time it runs. The M command shows memory usage, and G collects garbage. Mine shows 5000K with default settings.