• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.OutOfMemoryError

 
Karthik Krishnamurthy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When I run my code using "java Decoder" I am getting java.lang.OutOfMemoryError

So I ran it with the following parameters:

java -Xms=32m -Xmx=1024m Decoder.

Now it is giving "invalid initial heap size. Could not create JVM" error.
(and if i remove the -Xms i am getting "invalid max heap size. Could not create JVM".)

Could any one pl help.

Thx
Karthik
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remove the equals sign and try
 
Karthik Krishnamurthy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Mani. That worked
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kkarthik",
please see the request to change your display name here.

We require display names to be two words: your first name, a space, then your last name. Fictitious names are not allowed.

More information is available in the link provided.

thanks,
Dave
 
Karthik Krishnamurthy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The request was to change my display name from strutsfanatic.

Anyway I have changed my display name to my full name.

Thx
Karthik
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kkarthik was still not valid, but that's old news now. I appreciate you changing it so quickly!

Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic