Comments (10)
It may be that you just need more memory for a large number of files or files with a lot of data. But 10GB does seem like it should be enough unless you have more than 1GB of NMON files.
I have made one small change in the latest commit if you want to try that. It may only help when processing files with a lot of process / TOP data on IBM JVMs though. In my case, it saved about 200MB of memory when processing 3 files totaling 125MB. Heap used before the fix was about 800MB.
Past that, I will need to dig deeper which may take a while to get to with the holidays coming up.
from nmonvisualizer.
I can simulate high memory consumption (around 8,9 GB) with just 12 nmon files representing 6 days (3 MB per nmon file, 36 MB total). Those files are from AIX and I did complex analysis without problems in the past (I can process Q1/2017 and Q2/2017 without problems. Q3 and Q4 only when I find first bad day and divide interval to 2 parts). Probably some data causes this problem. Let me know if I can provide you more relevant information (like Eclipse MAT analysis or so).
I will try your latest patch a bit later.
from nmonvisualizer.
I've made a few more changes but I don't think it's solving the main issue. Please try the latest commit though to see if anything is different.
Another thing you can try is to turn off logging. Go to Help -> View Log (CTRL-L). In the dialog that appears, change the log level drop down to WARNING
or OFF
.
I think it would help if I had your nmon files. Something is definitely wrong if 36MB of data is ballooning to 8.9 GB of heap.
Also, can you confirm that the Q1 and Q2 data are fine now, with your current JVM and NMONVisualizer version? I want to make sure it's the data and not something about your current setup.
from nmonvisualizer.
Your changes did not help. And it can not compile with Java 9 (I locally fixed it with adding final keyword to the scroller variable):
[javac] /Users/user/Data/tools/NMONVisualiser/build/nmonvisualizer/src/com/ibm/nmon/gui/util/LogViewerDialog.java:95: error: local variable scroller is accessed from within inner class; needs to be declared final [javac] scroller.setViewportView(log); [javac] ^ [javac] 1 error [javac] 4 warnings
Today I was performing analysis of nmon files from IHS servers. I loaded 529 nmon files (1.12 GB in total, average 2.1 MB per file) and with 9.15 GB consumed memory I was able to work with NMONAnalyzer without problem. Then I tried to load nmon files from second IHS server and it stopped after 450th file (OOM). When I try it with smaller interval I can simulate memory pressure (again just 16 files, 33.9 MB in total).
And yes Q1 and Q2 data are fine with Java 9 and compiled NMONVisualizer from source code.
Please write me an email (michael at upcmail dot sk) and I will send you a link to files.
from nmonvisualizer.
Sent you an email last week requesting files.
from nmonvisualizer.
Thanks for the remainder. Check your email now.
from nmonvisualizer.
I am pretty sure this due to logging and a possible issue with how JTextArea works. Can you turn off logging before you process any data and then rerun with all your files? Go to Help -> View Log (CTRL-L). In the dialog that appears, change the log level drop down to OFF.
If you confirm that works, I will also add a patch that removes the logging that's happening with your files. Looking at that code again it's not needed anyway.
from nmonvisualizer.
It helped. I was able to load all 529 files from the second box. There is still some difference though. Parsing 529 files from the first box consumed around 9,3 GB memory. Parsing 529 files from the second box consumed around 10,8 GB memory. At the end it works so this is not a big issue.
Sorry that I missed your recommendation about logging before :/
from nmonvisualizer.
Great!
I made another commit that should work without turning off logging. Can you confirm that has the same effect? If it works, I think we can close.
from nmonvisualizer.
Yes, it works perfectly. I have tested it with many inputs and always with success. Thank you!
from nmonvisualizer.
Related Issues (20)
- Get an exception if nmon file has duplicate data. HOT 1
- I am unable to load nmon files beyond 41 HOT 1
- I am unable to load Perfmon file HOT 5
- Table format not shown HOT 1
- AIX nmon TOP CPU% incorrect HOT 4
- How to specify more than one xml file HOT 8
- Cannot process json files from latest njmon HOT 1
- ArrayIndexOutOfBoundsException HOT 1
- esxtop data parsing error HOT 4
- JVM GC output cannot be parsed when the JVM GC policy is set to 'Balanced' HOT 4
- nmon visualizer unable to parse the below files HOT 1
- Undefined data type CPUUTIL000 HOT 4
- Link to overview presentation PDF file doesn't work HOT 2
- How to save charts to PNG files in GUI ? HOT 6
- How to change Max value on y-axis in GUI ? HOT 2
- GUI displays a chart with unexpected times when Windows timezone is changed HOT 1
- SYS_SUMM for Nmon Visualizer HOT 3
- Loading a NMON data and get error HOT 2
- faulty line graphs since NMONVisualizer 2019-04-06.jar (or newer) when creating custom reports. HOT 25
- SEVERE could not parse *.nmon java.lang.ArrayIndexOutOfBoundsException: 13 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmonvisualizer.