Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

out of swap space in weblogic 9.2 & jdk 1.5 on solaris 9

 
Nishant Pathak
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting everyday out of swap space(out of memory) in weblogic 9.2 & my server goes down, recently i migrated from weblogic 7.0 to weblogic 9.2, i never use to get this message in weblogic 7.0 Please help....
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Increase heap space ?
 
Nishant Pathak
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deepak,

I am already giving max heap size as 2048.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you verify that the heap space provided was understood correctly by the JVM ? Check this setting and double check it.

2 GB is enough memory to host a couple of middle sized applications. Perhaps there is a memory leak or your are holding on to your references for more time than you need to. Use a java profiler and determine where all the memory is leaking
 
Andreas Barrud
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to enlarge the swap partition of solaris.
Solaris ensures that allocated memory is backed up by hard disk space. If there isn't enough space configured you get this error (for example: 48GB ram in machine, swap partition is only 24GB large, after your applications demand more then 24GB memory you get en error message)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic