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

MapObject Dispose does not release TrueType font file handles (MapServer 6.2) #4551

Closed
PhilAnzel opened this Issue Dec 26, 2012 · 5 comments

Comments

Projects
None yet
3 participants
@PhilAnzel

Under C#, (Visual Studio 2010 32-bit) creating PNG or SVG output does not release TrueType file handles when mapObject is disposed. This problem presented itself using MapServer mapscript code under Windows IIS 7.5, it was tracked down to exhaustion of file handles; a work around was to "recycle" the worker processes to force file handle closure.

The heart of the problem is demonstrated by a small C# program that I can send, please email me (phil.anzel@ftc.usda.gov) if you'd like it sent to you as a ZIP file including the VS2010 solution file and all DLLs.

This is very similar to a ticket closed six years ago, #2013 .

@szekerest

This comment has been minimized.

Show comment
Hide comment
@szekerest

szekerest Jan 5, 2013

Member

closing

Member

szekerest commented Jan 5, 2013

closing

@szekerest szekerest closed this Jan 5, 2013

mkofahl pushed a commit to faegi/mapserver that referenced this issue Apr 9, 2013

@tbonfort

This comment has been minimized.

Show comment
Hide comment
@tbonfort

tbonfort Apr 13, 2013

Member

@szekerest should I backport this one to branch-6-2 ?

Member

tbonfort commented Apr 13, 2013

@szekerest should I backport this one to branch-6-2 ?

@tbonfort tbonfort reopened this Apr 13, 2013

@szekerest

This comment has been minimized.

Show comment
Hide comment
@szekerest

szekerest Apr 13, 2013

Member

That might be reasonable

Member

szekerest commented Apr 13, 2013

That might be reasonable

@tbonfort

This comment has been minimized.

Show comment
Hide comment
@tbonfort

tbonfort Apr 13, 2013

Member

my bad, this one was already in 6.2. sorry for the noise

Member

tbonfort commented Apr 13, 2013

my bad, this one was already in 6.2. sorry for the noise

@tbonfort tbonfort closed this Apr 13, 2013

@PhilAnzel

This comment has been minimized.

Show comment
Hide comment
@PhilAnzel

PhilAnzel Apr 15, 2013

Thomas, thanks for taking a look at the issue.

  • Phil Anzel
    USDA/NRCS contractor – Team Vistronix

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.

From: Thomas Bonfort [mailto:notifications@github.com]
Sent: Saturday, April 13, 2013 4:46 AM
To: mapserver/mapserver
Cc: Anzel, Phil - NRCS, Fort Collins, CO
Subject: Re: [mapserver] MapObject Dispose does not release TrueType font file handles (MapServer 6.2) (#4551)

my bad, this one was already in 6.2. sorry for the noise


Reply to this email directly or view it on GitHubhttps://github.com/mapserver/mapserver/issues/4551#issuecomment-16331086.

Thomas, thanks for taking a look at the issue.

  • Phil Anzel
    USDA/NRCS contractor – Team Vistronix

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.

From: Thomas Bonfort [mailto:notifications@github.com]
Sent: Saturday, April 13, 2013 4:46 AM
To: mapserver/mapserver
Cc: Anzel, Phil - NRCS, Fort Collins, CO
Subject: Re: [mapserver] MapObject Dispose does not release TrueType font file handles (MapServer 6.2) (#4551)

my bad, this one was already in 6.2. sorry for the noise


Reply to this email directly or view it on GitHubhttps://github.com/mapserver/mapserver/issues/4551#issuecomment-16331086.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment