1

I have a problem at some customer pc's (new Dell PCs)

windows XP Professional SP3, 4GB RAM

if I try to start eclipse using -Xms256m -Xmx1024m than it fails reducing to -Xms256m -Xmx768m then it works

any idea what could be wrong ?

on my own machine I'm using OSX with Parallels VM running the same XP Prof SP3 then inside this XP I can easy allocate -Xmx1024m or more

ekkescorner
  • 523
  • 1
  • 4
  • 10

1 Answers1

3

You're probably using SUN's Java VM. This VM needs to allocate its memory in a continuous block. In your case, a 768 MB large block would be free, but not a 1024MB large block. Solution would be to switch to XP 64 bit, which has a larger address room an thus is able to supply such a large block using higher virtual addresses.

See also Java maximum memory on Windows XP

Community
  • 1
  • 1
Bob
  • 5,510
  • 9
  • 48
  • 80
  • See https://bugs.eclipse.org/bugs/show_bug.cgi?id=188968#c15. Part of the problem is other .dlls getting loaded in the middle of your address space. There is a patch there that tries to make things better by delaying the loading of windows dlls as long as possible, but it hasn't been released yet. – Andrew Niefer Oct 24 '09 at 15:41