[ 
https://issues.apache.org/jira/browse/GUACAMOLE-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936936#comment-16936936
 ] 

Michael Jumper edited comment on GUACAMOLE-884 at 9/24/19 3:47 PM:
-------------------------------------------------------------------

Testing with your script, I see normal sawtooth heap behavior:

!guac-js-heap.png|width=100%!

While I do see "Memory footprint" in Chrome's task manager gradually growing, 
that is distinct from the JS heap, which hovers around 10 MB. You can see this 
yourself if you right click within the task manager and check "JavaScript 
memory" to display JS heap size in its own column.

It doesn't look like there is a leak here, at least not within Guacamole. There 
is growth of memory usage, but that is external to the JavaScript heap and 
outside Guacamole (within Chrome). If there is a leak here, it may be a leak in 
Chrome, external to the JavaScript VM.


was (Author: mike.jumper):
Testing with your script, I see normal sawtooth heap behavior:

!guac-js-heap.png|width=100%!

While I do see "Memory footprint" in Chrome's task manager gradually growing, 
that is distinct from the JS heap, which is hovers around 10 MB. You can see 
this sourself if you right click within the task manager and check "JavaScript 
memory" to display the will show JS heap size in its own column.

It doesn't look like there is a leak here, at least not within Guacamole. There 
is growth of memory usage, but that is external to the JavaScript heap and 
outside Guacamole (within Chrome). If there is a leak here, it may be a leak in 
Chrome, external to the JavaScript VM.

> Canvas Render Browser Memory Leakage
> ------------------------------------
>
>                 Key: GUACAMOLE-884
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-884
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-common-js
>    Affects Versions: 1.0.0
>         Environment: guacamole 1.0
>            Reporter: jianfeng chen
>            Priority: Minor
>         Attachments: 001.png, guac-js-heap.png, pysh.py
>
>
> In SSH protocol, executing Python scripts will constantly render and refresh 
> the interface, resulting in a gradual increase in browser memory, and finally 
> browser crash.
> The script content is in the attachment.
> Execute script instructions:python pysh.py 1024 1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to