Delete heap dump file if request is canceled

17 views
Skip to first unread message

Milind Rao

unread,
Nov 20, 2019, 5:04:45 PM11/20/19
to javamelody

After clicking on the link to create a heap dump, I terminated the request.  It left behind a 5GB file in the temp folder.  I ran out of disk space later and that's when I realized that the file was in the temp folder.  Can the file be deleted in some finally block if the request is canceled?
Reply all
Reply to author
Forward
0 new messages