Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing map causes memory leak #41

Closed
ultraTCS opened this issue Oct 19, 2017 · 3 comments
Closed

Resizing map causes memory leak #41

ultraTCS opened this issue Oct 19, 2017 · 3 comments

Comments

@ultraTCS
Copy link

Hi, I'm using ocx v4.9.4.2.

Recently noticed big spikes in memory when resizing. I've reproduced this using MapWindow5.
Saw same issue reported here: https://mapwingis.codeplex.com/discussions/659779 and I've posted a follow-up to the original post.

I am building the ocx from source but have not yet investigated. Hoping it is a known issue with a known fix.

Thanks,
link

@pmeems
Copy link
Contributor

pmeems commented Oct 19, 2017

I just tested it with MW5 (which is using the ocx) and I also see the increase of memory when I change the size of MW5 and thus the map control.
I've created https://mapwindow.atlassian.net/browse/MWGIS-87 for this.
We need to investigate this.

@jerryfaust
Copy link
Contributor

A substantial GDI leak was detected in the RedrawLayers method, which is called on every resize operation, and a change is being submitted.

@ultraTCS
Copy link
Author

Great news, thx Jerry.

@pmeems pmeems closed this as completed Nov 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants