TPTP cannot work long time for system information collecting [message #118218] |
Thu, 15 November 2007 07:35 |
Eclipse User |
|
|
|
Originally posted by: fair.zhu.huawei.com
I am trying to do the second development based on the TPTP. and use
Statistical to collect performance data from Windows sytem(OS) , and
found the Eclipse workpetch consume lots of memories, 5 hours or later ,
javaw.exe used 300M memories.
then, I did some operations about this:
-> plugin: org.eclipse.tptp.platform.models
-> package:org.eclipse.hyades.loaders.statistical
-> class:SnapshotObservationBase
-> protected void updateAttributes(SDSnapshotObservation observation)
I deleted this code:
//observation.getCreationTime().add(fTime);
and in another class,
->class:XMLContigousObservationLoader.class
-> function : protected void updateAttributes(SDContiguousObservation
observation)
I deleted this code:
//observation.getValue().add(fValue);
the TRCAgent descriptors didn't have any collections in the memory, but it
no use, The javaw.exe
increased from 100M to 300M 20 hours later.
I need TPTP contiguous work 72 hours for collect system information like
cpu or process, but it only
worked 10hours and give message for system memory out.
I didn't know which part of the Eclipse workbetch consume the memory.
------------------------------------------------------------ --
I also did some other oparetions in the views:
plug-in: org.eclipse.hyades.perfmon
-> package: org.eclipse.hyades.perfmon.internal.views.controls
-> class: ControlsView
-> function: public void selected(StatisticalSelectionSource source)
In this java file, I delete this code:
"
//else {
// tableTree.getTreeViewer().refresh();
//}
to stop the Agent Control view refreshing, but it also no use to hold back
the OS memory increase.
I use tptp profiling tools to profile Eclipse Application, but it seems
too huge to analysis a whole platform.
If making the TPTP Application's consuming memory keep 100M or lower and
working continuous 27hours, how should I do ?
|
|
|
Powered by
FUDForum. Page generated in 0.02396 seconds