Skip to main content



      Home
Home » Eclipse Projects » Virgo » Virgo Service commands are not working(I am getting errors when I try to use the list or examine for vsh:service)
icon4.gif   Virgo Service commands are not working [message #1199793] Wed, 20 November 2013 20:11 Go to next message
Eclipse UserFriend
Whenever I am in the Virgo Server editor in the Eclipse IDE, I can not run the vsh:service commands(either list or examine)in the Server console without getting a Java OutOfMemory error.

I have tried increasing the heap memory to the following

-XX:PermSize=1024m -Xms512sm -Xmx4096m

But I'm still getting the OutOfMemory error.

I have tried telneting to the osgi command line. List works occasionally but examine never works.

Re: Virgo Service commands are not working [message #1200267 is a reply to message #1199793] Thu, 21 November 2013 01:44 Go to previous messageGo to next message
Eclipse UserFriend
Which Virgo version do you use?
Re: Virgo Service commands are not working [message #1201016 is a reply to message #1200267] Thu, 21 November 2013 09:32 Go to previous messageGo to next message
Eclipse UserFriend
I am using 3.6.2
Re: Virgo Service commands are not working [message #1201292 is a reply to message #1201016] Thu, 21 November 2013 12:18 Go to previous messageGo to next message
Eclipse UserFriend
I guess you have your application running in Virgo, because I cannot reproduce the OOM using plain VST 3.6.2.


    What can be done is:
  1. Check if the problem is reproducible with standalone Virgo (to rule out Eclipse Tooling)
  2. Remove your application and test vsh:services again (to check if memory settings are correct)


In general the problem may be caused by low memory settings, so can you please post the parameters used to start Virgo here.

[Updated on: Thu, 21 November 2013 12:19] by Moderator

Re: Virgo Service commands are not working [message #1201481 is a reply to message #1201292] Thu, 21 November 2013 14:26 Go to previous messageGo to next message
Eclipse UserFriend
I stripped out all plans and ran plain VST. The vsh:service commands list and examine both worked.

My memory settings were as follows: -XX:PermSize=768m -Xms512sm -Xmx2048m

I added back a plan that only added CXF-dosgi functionality and I got the OOM for list and examine vsh:service commands

I increased the memory settings are as follows: -XX:PermSize=768m -Xms512sm -Xmx4096

I still got OOM for the list and examine vsh:service commands
Re: Virgo Service commands are not working [message #1201489 is a reply to message #1201481] Thu, 21 November 2013 14:30 Go to previous messageGo to next message
Eclipse UserFriend
NOTE: I'm trying to debug an application that includes 2 plans. One is the main application plan and the other is the cxf-dosgi plan.
Re: Virgo Service commands are not working [message #1201540 is a reply to message #1201489] Thu, 21 November 2013 15:03 Go to previous messageGo to next message
Eclipse UserFriend
Can you post the exact message of the OOM exception?

You can investigate the OOM via the Eclipse Memory Analyzer [1]. You'll need the heap dump generated by Virgo as input.

If you are new to MAT, you can go to the Leak Suspects one-click view [2] or if this is not enough go through the Basic Tutorial [3]

[1] http://www.eclipse.org/mat/
[2] http://memoryanalyzer.blogspot.com/2008/05/automated-heap-dump-analysis-finding.html
[3] http://help.eclipse.org/kepler/topic/org.eclipse.mat.ui.help/gettingstarted/basictutorial.html
Re: Virgo Service commands are not working [message #1201790 is a reply to message #1201540] Thu, 21 November 2013 17:53 Go to previous messageGo to next message
Eclipse UserFriend
java.lang.OutOfMemoryError: Java heap space
Dumping heap to C:\virgo/serviceability/heap_dump.hprof ...
Heap dump file created [313372696 bytes in 6.936 secs]
Re: Virgo Service commands are not working [message #1206869 is a reply to message #1201790] Sun, 24 November 2013 04:00 Go to previous messageGo to next message
Eclipse UserFriend
It seems that there are too many objects (heap) and the problem is not caused by the number of classes (perm) or native threads (native memory).

If you have difficulties analysing the leak, please provide the heap dump so I can have a look. Have in mind however that it may contain sensitive data like login credentials and URLs that were present in the memory.
Re: Virgo Service commands are not working [message #1220675 is a reply to message #1206869] Thu, 12 December 2013 20:51 Go to previous message
Eclipse UserFriend
I stripped out all plans and ran plain VST.
My memory settings were as follows: -Xms512sm -Xmx1024m
I increased the memory settings are as follows: -XX:PermSize=768m -Xms512sm -Xmx4096
Previous Topic:Virgo as windows service
Next Topic:virgo-kernel-3.6.2.RELEASE as windows service
Goto Forum:
  


Current Time: Tue Jul 22 19:02:43 EDT 2025

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

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

Back to the top