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

Too many System.Drawing.Region objects created #210

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Open

Too many System.Drawing.Region objects created #210

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. In Paint method of class PCamera, PushClip and PopClip methods are called. 
This results in creation of lot of System.Drawing.Region objects. Whenever 
Garbage Collector runs, it takes lot of time to cleanup the objects.
2. Also, shouldn't we call Dispose on Region objects when the job its done?
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
WinCE 5.0, >Net Compack Framework 2.0.

Please provide any additional information below.
Since the GC latency time is high, the camera application pauses for a while 
and then starts working normally. This happens when, the GC runs.

Original issue reported on code.google.com by sandeep....@gmail.com on 21 Mar 2011 at 10:25

@GoogleCodeExporter
Copy link
Author

We are using PocketPiccolo assembly v1.0.4097.28264

Original comment by sandeep....@gmail.com on 21 Mar 2011 at 10:26

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

No branches or pull requests

1 participant