[ 
https://issues.apache.org/jira/browse/FELIX-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed FELIX-2242.
------------------------------------


Apache Felix Web Console Memory Usage Plugin 1.0.2 has been released. The 
issues are now closed.

> Memory Usage page non-functional if no heap dumps exist
> -------------------------------------------------------
>
>                 Key: FELIX-2242
>                 URL: https://issues.apache.org/jira/browse/FELIX-2242
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions:  webconsole-memoryusage-plugin-1.0.0 
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-memoryusage-plugin-1.0.2
>
>
> If the heap dump folder does not exist, the Memory Usage plugin page is 
> non-functional because the server sends a corrupt ECMA-Script fragment
>       {'files:0,total:0'}
> which should really be
>       {'files':0,'total':0}
> A workaround to this problem is to create the heap dump folder, whose path is 
> displayed in the "Memory Usage" panel of the Configuration Status page.
> Another option would be to just send a dump POST request, e.g. using curl:
>     curl -u user:pass -d command=dump 
> http://localhost:8888/system/console/memoryusage
> (note that for the plugin version 1.0.0 the "-d" option must be used because 
> multipart form data is not supported, see FELIX-2241)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to