RE: [OpenMap Users] OMPoly memory leak

From: <jonathan.2.hart_at_bt.com>
Date: Wed, 30 Apr 2008 17:34:22 +0100

I'm trying both methods at the moment. I'll report back when I find anything out. (I didn't write the code so I'm having to learn it as I go along).

 

Regards

Jonathan

 

________________________________

From: Alessio Iannone [mailto:alessio_iannone_at_yahoo.it]
Sent: 29 April 2008 18:28
To: Hart,J,Jonathan,VEA R; openmap-users_at_bbn.com
Cc: OpenMapUsers
Subject: Re: [OpenMap Users] OMPoly memory leak

 

Ok, Yes now i have understand ;) but sorry probably is my fault...my native language is italian so... ;).
So what are the changes you have made to the code if any? have you removed all the listener and components added to the mapHandler as Jesper Berglund sayd ?
I am intersted in it even if my application has always a map displayed.
However we have bought JProfiler as soon as it will arrive I will check several issues related to performance and memory leak
Best Regards

 

Alessio Iannone
Software Engineer

 

Mobile: 39 329 8834960

Email: alessio.iannone_at_nextant.it <mailto:alessio.iannone_at_nextant.it>
IM: quonn77_at_hotmail.com (AIM)

http://www.linkedin.com/in/alessioiannone
Web sites of the Martial Arts I play <http://www.shorinjikempo-ryu.it>

 <https://www.next.it/nextant/image/LogoBannerNextant.jpg>

Nextant - Navcomm Applications <http://www.next.it>
Via Alessandro Noale
<http://maps.google.com/maps?q=Via+Alessandro+Noale&hl=en>

See who we know in common <http://www.linkedin.com/e/wwk/7254039/>

Want a signature like this? <http://www.linkedin.com/e/sig/7254039/>

 

----- Messaggio originale -----
Da: "jonathan.2.hart_at_bt.com" <jonathan.2.hart_at_bt.com>
A: openmap-users_at_bbn.com
Inviato: Marted́ 29 aprile 2008, 18:53:05
Oggetto: RE: [OpenMap Users] OMPoly memory leak

Jesper, thanks I'll check they're all being set to null.

Rob, thanks that's really helpful. I'll have a go at integrating those
changes. Do you know whether they'll be going in to the next openmap
release?

Alessio, I probably didn't explain very clearly. I've got an instance of
OpenMap running in a panel inside a bigger application. For example you
load up my app, then you can open a mapping window inside my
application. When you close my application down all memory is released.
The problem I'm seeing is if you close just the OpenMap window in my
application (leaving the rest of the program running) the memory used by
openmap is not being reclaimed.
I hope that is a bit clearer.

Thank you all for your help.
Jonathan

-----Original Message-----
From: Jesper Berglund [mailto:jesper.berglund_at_pertexo.se]
Sent: 29 April 2008 15:00
To: Hart,J,Jonathan,VEA R
Cc: openmap-users_at_bbn.com
Subject: Re: [OpenMap Users] OMPoly memory leak

Hi Jonathan

I have had the same problems as you and the key issue is null all
references, remove all listeners and remove all components added to the
MapHandler when the openmap window/frame is closed.

That helped me =)

Greets!

/Jesper Berglund
> Hi,
>
> I'm using OpenMap embedded in an Eclipse rich client application. I've
> got a memory leak, when the OpenMap window is closed the memory used
by
> the map is not freed up. I've done some digging with profiling tools
and
> it looks like the OMPoly objects used by OpenMap are not being garbage
> collected after the instance of OpenMap is being shutdown.
>
> Has anyone else had a similar problem, or any suggestions how to clear
> up these objects?
>
> Regards
>
> Jonathan
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
openmap-users"]
>

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
 
 
________________________________
Inviato da Yahoo! Mail <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.com/evt=52437/*http:/it.docs.yahoo.com/mail/overview/index.html> . 
La casella di posta intelligente.
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Apr 30 2008 - 13:10:35 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT