5493 File size limit exceeded [message #635326] |
Tue, 26 October 2010 08:47  |
Eclipse User |
|
|
|
Hi,
I am using the following to profile my app when running our tests:
This is what i use on the command line:
JAVA_HOME/bin/java '-agentlib:JPIBootLoader=JPIAgent:server=standalone,file=/ho me/eraonel/tmp/log.trcxml,filters=/home/eraonel/tmp/filters. txt;CGProf' -classpath $CLASSPATH org.junit.runner.JUnitCore se.ericsson.wcdma.rnc.roam.testenv.testcases.generated.AllTe sts
It runs and writes large amounts of data to /eraonel/tmp/log.trcxml
and soon I get the following:
5493 File size limit exceeded
How can I make sure that data for my classes are written to log?
This is what I have in my filters.txt
se.mypackage.* INCLUDE
* * EXCLUDE
br,
//mike
|
|
|
Re: 5493 File size limit exceeded [message #635469 is a reply to message #635326] |
Tue, 26 October 2010 19:41   |
Eclipse User |
|
|
|
Hi Mikael, would you be able to provide details on your operating system configuration? What is the file size limit that you are encountering?
It looks like you have an error in your filter file:
se.mypackage.* INCLUDE
should be se.mypackage.* * INCLUDE
(this may just be a typo in the message)
If that doesn't fix the issue, my first recommendation would be to profile with just * * EXCLUDE, in order to verify that your filters file is being correctly picked up. If the profiler can't locate the filter file, it will use an empty filter set which will generated a large amount of data. If the filter file being picked up correctly, the * * EXCLUDE should produce only a small file.
Unfortunately, beyond increasing the filter, there is not much else you can do to reduce the amount of data being generated by the profiler. This is always the option of using enabled or controlled and attaching from the Eclipse workbench, if standalone is not working out.
Finally, you may want to investigate why you are receiving this error from the operating system. Some operating systems limit the size of files that can be written by 32-bit processes, for instance, so you may want to switch to a 64-bit JVM and see if the behaviour continues. Some file systems do not support large files without modifications, etc.
|
|
|
|
Re: 5493 File size limit exceeded [message #635976 is a reply to message #635520] |
Thu, 28 October 2010 15:20  |
Eclipse User |
|
|
|
Hi Mikael,
The data that is written to the file is the "raw data" that would be received by the profiler, rather than a summary of the total execution. This is why the file can get very large very quickly.
|
|
|
Powered by
FUDForum. Page generated in 0.04628 seconds