• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Out of memory issue

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have deployed the war file to monitor oracle weblogic 12c.But i am getting memory leak.I have closed the context objects.But still i am getting memory leak.Please suggest the best way to avoid the memory leak.

Thanks
M.Selvakumar
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How did you conclude that its a leak?

Will it be possible for you to share your app so that I can test?

khan.faysal06@gmail.com

Regards,
Faisal
 
Ranch Hand
Posts: 376
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try taking a Heap Dump when OOM is reach, then analyze it with Eclipse MAT.
https://eclipse.org/mat/

JDK 1.6 has the following parameters to take a heap dump when OOM:

-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic