From: DaveR on
As it turns out, this is a problem with Windows security patch 921883.
We've installed the hotfix for this and it has resolved the problem.

Dave

nicolas.lehuen(a)gmail.com wrote:
> > Not being able to use -Xmx1024m there is a serious problem, I'd say...
> > I've been using that with our application for years now, even before we
> > later added the -Xms part. I just pulled out a small class I use for
> > quick testing that has a main with just a println and tested it using
> > only the -Xmx1024m and it worked fine -- Java 1.5.0_06 on XP SP2. We
> > stopped supporting NT 4 and earlier, so I haven't got access to any of
> > those to see what I'd get.
> >
> > = Steve =
> > --
> > Steve W. Jackson
> > Montgomery, Alabama
>
> I'm also encountering problems under both Windows XP and Windows 2003
> Server with 2 GB of RAM.
>
> Up until a few weeks ago, I could use -Xmx1600M without any problem.
> Then during my vacation a colleague called me to tell me that the JVM
> wouldn't start anymore on our development server (the one under Windows
> 2003 Server) with this error message :
>
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
>
> Back then, I tried on my development machine (the one under Windows XP)
> and everything worked properly at -Xmx1600M.
>
> Now, coming back at work, my Windows has been updated up to the latest
> Patch Thursday (we run Windows Update Server at work so my PC wasn't
> updated until I returned to work). And now, -Xmx1600M doesn't work
> anymore on my dev PC AND on the dev server.
>
> This leads me to think about a negative interaction between the latest
> patches from Windows Update and the JVM. But I'm really not sure, so if
> anyone has a similar problem, I'd be glad to hear about it.
>
> Regards,
> Nicolas

First  |  Prev  | 
Pages: 1 2
Prev: Try to install JSIM
Next: Arkanoid / Breakout