Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355994 - permanent memory leakage problem
Summary: permanent memory leakage problem
Status: CLOSED WORKSFORME
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: 2.1.0.RELEASE   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 23:21 EDT by karthik elavan CLA
Modified: 2011-10-17 05:29 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description karthik elavan CLA 2011-08-26 23:21:24 EDT
i am using  virgo web server in my project, but still now i am getting out of memory or memory leakage error comes from server and also while deploying my war file multiple time i am getting the same error.
Comment 1 Hristo Iliev CLA 2011-08-27 04:09:17 EDT
Can you please check the heap dump file located in %KERNEL_HOME%\serviceability\heap_dump.hprof?

There are several tools to check the root cause of the memory shortage. I personally use Eclipse Memory Analyzer Tool (MAT). There are simple wizard like dialogs to provide you with a summary page you can use to blame a specific component/class for the leak :)

If you like you can also provide the hprof file attached (if not too big for bugzilla).
Comment 2 karthik elavan CLA 2011-08-30 05:00:15 EDT
hi friends,
"virgo.kernel.userregion.internal.quasi.DependencyCalculator Calculating missing dependencies of bundle(s),"

 how to i rectified above the warring because i am using ehcache in my project, once i stared virgo after that i went to see the log file above the warring displayed please if let you know share to me.
Comment 3 karthik elavan CLA 2011-08-30 05:02:10 EDT
(In reply to comment #1)
> Can you please check the heap dump file located in
> %KERNEL_HOME%\serviceability\heap_dump.hprof?
> 
> There are several tools to check the root cause of the memory shortage. I
> personally use Eclipse Memory Analyzer Tool (MAT). There are simple wizard like
> dialogs to provide you with a summary page you can use to blame a specific
> component/class for the leak :)
> 
> If you like you can also provide the hprof file attached (if not too big for
> bugzilla).


hi,

i have pulgin eclipse memory analsizer tool but how to use this tool please because still now i am same time java project and web project using my project
Comment 4 Hristo Iliev CLA 2011-08-30 07:21:31 EDT
The MAT overview (built-in help) provides a basic tutorial. There are several tutorials out there as well, including videos on how to use the tool.

Basically you need to open the heap dump and run the Leak Suspects Report (step 6) of the tutorial.

If you are having difficulties with this you can upload the heap dump on some sharing site (dropbox for instance) and I can analyze this for you. 

Please bear in mind that the heap dump contains most of the in-memory data at the time of OOM. If you have a sensitive data (passwords...) then sharing the dump is not a good idea.
Comment 5 karthik elavan CLA 2011-09-03 06:36:40 EDT
hi,
i have change dump size in virgo server, but i could not solve issue because i am try to multiple time upload war file in virgo server, the server was heap dump the outofmemory error throws. please help me.

note: see below error:


"java.lang.OutOfMemoryError: PermGen space
Dumping heap to /home/novabit/server/virgo-web-server-2.1.0.RELEASE/serviceability/heap_dump.hprof ...
Heap dump file created [58030024 bytes in 0.842 secs] "
Comment 6 Glyn Normington CLA 2011-10-10 05:35:43 EDT
Is it possible to provide a (small) WAR file which reproduces this problem so we can investigate it?
Comment 7 Glyn Normington CLA 2011-10-17 05:29:56 EDT
Closing as not reproducible, Please re-open if you can provide a testcase.