| Summary: | Cannot aquire heapdump | ||
|---|---|---|---|
| Product: | [Tools] MAT | Reporter: | Benjamin Muskalla <b.muskalla> |
| Component: | Core | Assignee: | Krum Tsvetkov <krum.tsvetkov> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Benjamin Muskalla
I was able to reproduce this. When I first saw it I though we log one thing and execute another one. But this is not true, indeed what you see in the log is the line which is passed in the Runtime.exec(). For some reason it works fine if I paste it in a console, but when executed through Runtime.exec() it adds the tool root directory. I guess it has something to do with the quotes, which I have to admit I added in the last moment because otherwise paths with blank spaces didn't work on Win. Then I just tried in the console if quoting the path will work also on Linux... I'll look into this and try to fix it. I was able to fix this. Now both files with and without spaces work both on Win and Linux. As the problem will appear to anybody who tries to dump with MAT/jmap on a non-win system, I'll try to update our RCPs available for download in the next days already. Thanks for pointing to the problem! Thanks Krum for fixing this that fast. Just tried svn trunk and it works as expected. Thanks! Closing this one as fixed. |