visualvm icon indicating copy to clipboard operation
visualvm copied to clipboard

Export OQL results to HTML

Open kapodes opened this issue 8 years ago • 5 comments

https://github.com/oracle/visualvm/blob/018ca387647c9902c47c42b701257dceed1ebdcb/visualvm/heapviewer/src/com/sun/tools/visualvm/heapviewer/oql/OQLConsoleView.java#L551

Please make this counter value configurable.

kapodes avatar Jan 15 '18 13:01 kapodes

I have a heap dump with big number of unflushed log messages that i want to read. But i can't select them all since it's limited to 100.

kapodes avatar Jan 15 '18 13:01 kapodes

Thanks for the bugreport! As a workaround until fixed, you can use VisualVM 1.3.9 and set the 'OQLController.limitResults' system property - like 'visualvm -J-DOQLController.limitResults=200' for up to 200 results etc.

jisedlac avatar Jan 15 '18 14:01 jisedlac

You can also write results directly to file. See this answer for more information.

thurka avatar Jan 15 '18 14:01 thurka

It would be great if I could export html result to file without custom functions :) Like write query -> check output correct with limited results -> export all result to file

kapodes avatar Jan 15 '18 14:01 kapodes

Fixed in master - restored configuring the OQL results limit using the 'OQLController.limitResults' system property.

Switching to enhancement and leaving open for further investigation of exporting unlimited results.

jisedlac avatar Jan 19 '18 09:01 jisedlac