Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

GDI objects are not released and reached the limit , archi freezes #39

Open
Dromeyer opened this issue Aug 19, 2019 · 3 comments
Open
Labels

Comments

@Dromeyer
Copy link

On archi 4.4.0 and specialization plugin 1.0.11

!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: No more handles
org.archicontribs.specialization.SpecializationPlugin.drawIcon(SpecializationPlugin.java:1315)

- Copie.log

@herve91 herve91 added the bug label Aug 19, 2019
@herve91
Copy link
Collaborator

herve91 commented Aug 19, 2019

Thanks for the log file. I'll investigate and let you know.

@Ridderby
Copy link

I have had problems when copying a lot of objects. IT works for a wihile, then Archi freezes, and I have the impression it is frozen during coredump (Linux, the applications memory is dumped into a file), after a while Archi plainly crashes/closes down. Core dumping may take a while and meanwhile application is no longer responsive (I think it the entire memory is frozen during dump).

I may try to acquire a coredump-file and post if that will help.

@herve91
Copy link
Collaborator

herve91 commented Aug 19, 2019

The core dump will not really be useful. The exception sent gives me the class, the method and the line number where the exception has been raised.

So I should be able to add some traces and find how to fix the issue.

Nevertheless, even if I never experienced a crash on my side, the plugin is known to have memory leaks. In some occasions, the images created are not released. That's the reason why I started the v2 of the plugin that won"t use an external folder anymore, but use images loaded into the model. This way, there will not be any memory leak anymore and the images will be saved inside the model.

But the dev of this v2 is quite (very) slow as I miss time ...

Anyway, I'll find to fix the issue before the v2 is released.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants