Error in compilation satge of java files

Hi allWhenever i m trying to compile java files i m getting this error .I have no idea how to go about fixing this issue. Can any one help me out with this.Error occurred during initialization of VMCould not reserve enough space for object heap
[272 byte] By [srinath944a] at [2007-10-3 3:15:51]
# 1
Your system is probably low on swap space or memory. I'd need more details on what your system is, RAM, OS rev, etc. If the VM can't even get initialized, that usually means the basic VM process can't get started.-kto
kellyohaira at 2007-7-14 21:07:12 > top of Java-index,Core,Monitoring & Management...
# 2

I m running these java programs on windows2000 with 8GB memory.How should i proceed to atleast reach a logical solution to this problem.

Where should i start from atleast in attacking this issue?

- Sun Solaris 9

- j2sdk-1.4.2_10

Message was edited by:

srinath944

srinath944a at 2007-7-14 21:07:12 > top of Java-index,Core,Monitoring & Management...
# 3
Can you run any java applications? Can you run a "java -version", for example?
Lokoa at 2007-7-14 21:07:12 > top of Java-index,Core,Monitoring & Management...
# 4
You aren't providing us much to go on here, 'java -version' is a good start, what does that say?-kto
kellyohaira at 2007-7-14 21:07:12 > top of Java-index,Core,Monitoring & Management...
# 5

Well i could go ahead and solve the issue by bringing down the memory allocation at the minimum and maximum level during the compilation stage.

I got the tip from the forum itself where a similar problem had been reported and there this tip was provided.

Earlier in my case i was allocating 1GB of memory for compilation but due to some issue that much space was not being detected on the server. When i pruned that down to 512mb the compilation went ahead without any trouble.

Thanks kelly for geting in involved in geting to know the issue .

srinath944a at 2007-7-14 21:07:12 > top of Java-index,Core,Monitoring & Management...