The system is out of resources.

The system is out of resources.Consult the following stack trace for details.java.lang.OutOfMemoryErrorpls tellme why the error has come?
[165 byte] By [KARUPS@CISCO_HCL.COMa] at [2007-11-27 4:51:45]
# 1
Your system is out of resources.Consult the stack trace for details.
dannyyatesa at 2007-7-12 10:05:33 > top of Java-index,Core,Monitoring & Management...
# 2

Well what this means is : JVM has a fixed memorry at his disposal and it is this fixed memory JVM recycles and so your application can go on and on.

Sometime what happens your application is doing some intensive work and consuming more memory than what is garbage collected and so in due course of time system run's out of the memory and now no more objects etc can be created.

Normally this happens if you are not releasing your objects after use,that is use objects in proper scope ,specially which are used in recursion say in FOR loop.

In your case it can be different reason depending on the kind of work you are doing.

khangharotha at 2007-7-12 10:05:33 > top of Java-index,Core,Monitoring & Management...
# 3
HI could you tell meHow can i see the stacktrace?
KARUPS@CISCO_HCL.COMa at 2007-7-12 10:05:33 > top of Java-index,Core,Monitoring & Management...
# 4

Actually this error comes only when i use commandline compiler instead of programatic compiler(sun.tools.javac.Main)

otherwise it runs properly...........

now i use this compiler $(JAVA_CLASSPATH) $(JAVA_MEM2) javac

instead of this

java $(JAVA_CLASSPATH) $(JAVA_MEM2) sun.tools.javac.Main

KARUPS@CISCO_HCL.COMa at 2007-7-12 10:05:33 > top of Java-index,Core,Monitoring & Management...
# 5

Well, this just proves the point that I was trying to make and you completely missed...

Nobody has a clue because you have posted ZERO information. Who knew you were compiling? Everyone assumed you were running some code you'd written.

Most of us (except ejp occassionally) are not clairvoyant. We need information to go on.

dannyyatesa at 2007-7-12 10:05:33 > top of Java-index,Core,Monitoring & Management...
# 6
Hi now my /sw runs properly...cause of the problem wasi gave JAVAC_path= <classpath> javac <sourcefile>in my make script.and change it to javac <classpath> <sourcefile>by the way thanks for ur information
KARUPS@CISCO_HCL.COMa at 2007-7-12 10:05:33 > top of Java-index,Core,Monitoring & Management...