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

Truong Chuong Duong commented on NETBEANS-1123:
-----------------------------------------------

The md5sum is 76166796efa1dbff2b9b1196df1569c4,

I tried to open that file with Eclipse Memory Analyzer and it cannot open my 
file with error "An internal error occurred during: "Parsing heap dump from 
'/home/duongtc/.netbeans/10.0/var/log/heapdump_post.hprof'".
Java heap space".

I tried to use JProfiler 10.1.4 it can open that file as well. I think that 
file is too big to open by any native java app.

I think the problem is the diff tool take to much ram, some hoe it doesn't 
release the ram for old diff view so when I tried to compare and view too many 
times, it doesn't have enough memory to create new diff view.

If I use an external diff tool I can view as many time as I wish, but when 
tried to use the internal diff view I will got slow after around 15 diff views 
and it will freeze after nearly 20 times.

Other problem might caused this issue is my file is very big, it has 22.300 
lines of code so might it need more memory to create the diff.

Below is some report I got by JProfiler:

!image-2019-01-08-14-33-07-093.png!

!image-2019-01-08-14-34-09-175.png!

 

!image-2019-01-08-14-35-03-209.png!

 

 

> Netbean freeze and runs out of heap after view some source history diff
> -----------------------------------------------------------------------
>
>                 Key: NETBEANS-1123
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1123
>             Project: NetBeans
>          Issue Type: Bug
>          Components: utilities - Diff
>    Affects Versions: 8.2, 10.0
>            Reporter: Truong Chuong Duong
>            Priority: Critical
>         Attachments: image-2019-01-07-10-36-13-300.png, 
> image-2019-01-07-10-37-43-888.png, image-2019-01-08-14-33-07-093.png, 
> image-2019-01-08-14-34-09-175.png, image-2019-01-08-14-35-03-209.png, 
> messages.log.1
>
>
> # Open a source file
>  # Select "History"
>  # Set filter to "Subversion"
>  # View diff on each revision, scroll and view change code
> Netbean freeze after some (I am not sure how many) diff view



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to