Jump to content

Increase in ram usage (Ram leak or something?)


Lewis

Recommended Posts

  On 3/6/2018 at 4:43 PM, Alek said:

jmap jstat

Expand  

I am not seeing anyway to get jmap to actually dump the heap of the BotApplication is just hangs when trying to force it or if i try to do it normally it says the VM does not support the attach mechanism

Edited by battleguard
  • Like 1
Link to comment
Share on other sites

I really hope someone can answer my question because it looks like the jar starts up the script application org.osbot.BotApplication with the JVM argument -XX:+DisableAttachMechanism which makes it impossible to do any sort of profiling or creating heap dumps. @Alec hopefully you can clear this up.

This really stinks because you can never then use these tools to diagnose memory problems in your script or look at cpu hotspots in your script etc...

Edited by battleguard
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...