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

Memory Warning #7

Open
EricxStone opened this issue Aug 20, 2012 · 6 comments
Open

Memory Warning #7

EricxStone opened this issue Aug 20, 2012 · 6 comments

Comments

@EricxStone
Copy link

When I try to run this app in iPad (1st gen), it will receive memory warning if I draw a lot of lines. After a few more lines are drawn, the app will crash.

@levinunnink
Copy link
Owner

I'm working on a drawing method that uses less memory. I should have that pushed out next week.

@EricxStone
Copy link
Author

Could you please tell me what method did you use? As my project is quite urgent...
Thanks

@levinunnink
Copy link
Owner

This should be fixed in the latest update. Try it now.

@rahman061235
Copy link

Hi, even I got the memory warning when I tried to draw multiple lines and app is crashing

@rahman061235
Copy link

I cannot perform erase and undo operations with latest code.. can you please suggest me how to implement erase and undo with latest code?

thanks,
Rahman

@pcki11
Copy link

pcki11 commented Feb 12, 2014

Have you looked into using CATiledLayer? I have a ~3000x3000 SmoothLineView which used to allocate 100Mb+ during drawing and 40Mb+ after drawing finished. I have switched the layer of the view to CATiledLayer and now the memory footprint is 6Mb for same sized view.

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

4 participants