Forum Discussion

p4soapui's avatar
p4soapui
New Contributor
14 years ago

Help me for "Ran Garbage Collection" process in LoadUI

Hi,

I am using command line automation functionality of LoadUI and I created a batch file (in my case shell script file)
which contains4 requests to execute one after another. When execution start It start successfully and execute 2 to 3 requests one after another and suddenly it start "DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010301072 to 1019614272, total memory = 1037959168" and continue for a long time and not go to next request.

I m currenlty using LoadUI pro-2.0.0.

my requests in a script is like:

sh loadUI-cmd.sh -l -p /home/test/Desktop/LoadUI/Loadui_1.xml -r /home/test/Desktop/LoadUI/reports_1005_1 -F PDF -L 60:0:0
sh loadUI-cmd.sh -l -p /home/test/Desktop/LoadUI/Loadui_1.xml -r /home/test/Desktop/LoadUI/reports_1005_1 -F PDF -L 60:0:0
sh loadUI-cmd.sh -l -p /home/test/Desktop/LoadUI/Loadui_2.xml -r /home/test/Desktop/LoadUI/reports_1005_1 -F PDF -L 60:0:0
sh loadUI-cmd.sh -l -p /home/test/Desktop/LoadUI/ Loadui_2.xml -r /home/test/Desktop/LoadUI/reports_1005_1 -F PDF -L 60:0:0


Following are what it shows me:

INITIALIZING COMMAND LINE RUNNER
------------------------------------


17:50:00,375 INFO [CommandRunner] Loading Workspace file: /home/test/.loadui/workspace.xml
17:50:00,405 INFO [WorkspaceProviderImpl] Loading workspace from file: /tmp/workspace436951097574969495xml
17:50:00,753 INFO [WorkspaceItemImpl] Workspace 'WorkspaceItemImpl[label=null]' loaded successfully
17:50:00,753 DEBUG [WorkspaceItemImpl] Scheduling a garbage collection, for 60 seconds.
17:50:00,798 INFO [CommandRunner] Removing existing agents
17:50:00,841 ERROR [CajoServer] Listen failed on port: 1199; nested exception is:
java.net.UnknownHostException: SFCentos5-64VM03.abc.com: SFCentos5-64VM03.abc.com: Name or service not known
17:50:00,841 DEBUG [CajoServer] The cajo server is running on localhost:1199/loaduiIntegration
17:50:01,020 ERROR [ProjectRefImpl] Unable to load Project: /home/test/Desktop/LoadUI
java.io.FileNotFoundException: /home/test/Desktop/LoadUI (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:248)
at com.eviware.loadui.config.LoaduiProjectDocumentConfig$Factory.parse(Unknown Source)
at com.eviware.loadui.impl.model.ProjectItemImpl.loadProject(ProjectItemImpl.java:139)
at com.eviware.loadui.impl.model.ProjectRefImpl.loadProject(ProjectRefImpl.java:119)
at com.eviware.loadui.impl.model.ProjectRefImpl.setEnabled(ProjectRefImpl.java:139)
at com.eviware.loadui.impl.model.WorkspaceItemImpl.importProject(WorkspaceItemImpl.java:248)
at com.eviware.loadui.api.model.WorkspaceItem$importProject.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at Script1.run(Script1.groovy:114)
at com.eviware.loadui.cmd.CommandRunner$CommandRunnable.run(CommandRunner.java:93)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
17:50:01,165 DEBUG [ExecutorManagerImpl] Global Threadpool max size set to 1000
17:50:01,165 DEBUG [ExecutorManagerImpl] Global Threadpool queue max size set to 10000
17:51:00,850 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1002061848 to 1016752144, total memory = 1037959168
17:52:01,011 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1007437824 to 1016750736, total memory = 1037959168
17:53:01,104 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1007436384 to 1016749584, total memory = 1037959168
17:54:01,213 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1007435248 to 1019617640, total memory = 1037959168
17:55:01,312 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1007376728 to 1019616256, total memory = 1037959168
17:56:01,408 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010301872 to 1019615104, total memory = 1037959168
17:57:01,504 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010300720 to 1019613952, total memory = 1037959168
17:58:01,610 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010299568 to 1019617744, total memory = 1037959168
17:59:01,707 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010303360 to 1019616592, total memory = 1037959168
18:00:01,813 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010302208 to 1019615440, total memory = 1037959168
18:01:01,976 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010301136 to 1019614288, total memory = 1037959168
18:02:02,070 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010299904 to 1019617744, total memory = 1037959168
18:03:02,170 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010303360 to 1019616592, total memory = 1037959168
18:04:02,265 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010302208 to 1019615440, total memory = 1037959168
18:05:02,359 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010301072 to 1019614272, total memory = 1037959168
18:06:02,455 DEBUG [WorkspaceItemImpl] Ran Garbage Collection, Free Memory changed from 1010299888 to 1019616744, total memory = 1037959168

---------------------------

Please help me to resolve this issue.

Thanks,
Priyank
No RepliesBe the first to reply