Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Virgo bundle hold on too much memory(virgo BundleDescriptionImpl uses too much memory)
Virgo bundle hold on too much memory [message #1221604] Wed, 18 December 2013 03:41 Go to next message
chitong chung is currently offline chitong chungFriend
Messages: 6
Registered: December 2013
Junior Member

I am seeing Bundle artifacts hold on huge amount of memory, for instance, the following shows
108 StandardBundleInstallArtifacts uses 326M bytes:

---------------------------------------------------------------------------------------------------------------------------------
org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifact| 108 | 9,504 | >= 326,068,792
---------------------------------------------------------------------------------------------------------------------------------

Is this normal? is there a way to trim the memory usage?

Virgo Kernel 3.6
Re: Virgo bundle hold on too much memory [message #1221845 is a reply to message #1221604] Wed, 18 December 2013 14:36 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
It depends that the figure of 326M means. Could it be that this includes all the classes loaded by the class loader associated with the StandardBundleInstallArtifact. If you use a profiling tool like YourKit, you can dig in and find out what's really consuming the memory.
Re: Virgo bundle hold on too much memory [message #1221894 is a reply to message #1221845] Wed, 18 December 2013 16:34 Go to previous messageGo to next message
chitong chung is currently offline chitong chungFriend
Messages: 6
Registered: December 2013
Junior Member
Thanks, Glyn

StandardBundleInstallArtifacts consists same number of UserState objects and over 25,000 instances of BundleDecriptionImpl objects.

Have you seen this before?





Re: Virgo bundle hold on too much memory [message #1221903 is a reply to message #1221894] Wed, 18 December 2013 16:56 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
No, I haven't.
Re: Virgo bundle hold on too much memory [message #1221925 is a reply to message #1221903] Wed, 18 December 2013 18:02 Go to previous messageGo to next message
chitong chung is currently offline chitong chungFriend
Messages: 6
Registered: December 2013
Junior Member
So this is not normal.

Could you provide some pointers for troubleshooting this horrible memory issue?
Re: Virgo bundle hold on too much memory [message #1222555 is a reply to message #1221925] Fri, 20 December 2013 19:10 Go to previous messageGo to next message
chitong chung is currently offline chitong chungFriend
Messages: 6
Registered: December 2013
Junior Member
More tests have shown that the size of new StandardBundleInstallArtifacts get bigger for each new installed bundle.

Unless it is configuration issue, I have to say Virgo is no Production Quality, do not use it in production environment.

Re: Virgo bundle hold on too much memory [message #1223179 is a reply to message #1221903] Sun, 22 December 2013 17:34 Go to previous messageGo to next message
chitong chung is currently offline chitong chungFriend
Messages: 6
Registered: December 2013
Junior Member
Glyn,

Looks like it is a known issue, see bug submitted here:

Improve scalability of StandardBundleInstallArtifact

issuetracker.springsource.com/browse/DMS-1599


Let me know if this makes sense to you.

Re: Virgo bundle hold on too much memory [message #1223181 is a reply to message #1223179] Sun, 22 December 2013 17:36 Go to previous message
chitong chung is currently offline chitong chungFriend
Messages: 6
Registered: December 2013
Junior Member
https://
ssuetracker.springsource.com/browse/DMS-1599

Glyn Normington (c) added a comment - 18/Feb/10 6:41 AM
dm Server is being proposed for donation to Eclipse as the Virgo project. We have reviewed all the outstanding issues against dm Server and we have decided that this issue will be migrated to a Virgo bugzilla bug automatically. For the moment, we are tagging this issue. When we have transferred the issue, we will close it noting the corresponding bugzilla bug which you should then track.
Previous Topic:No Handler for type forms.widgets.ToggleHyperlink
Next Topic:[SOLVED] AspectJ Weaver error on @Aspect
Goto Forum:
  


Current Time: Thu Apr 25 15:23:18 GMT 2024

Powered by FUDForum. Page generated in 0.04430 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top