-
Notifications
You must be signed in to change notification settings - Fork 9
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
Allocate memory error. #103
Comments
It looks like allocation error caused by insufficient availability of resources at runtime? How much unused RAM do you have while running this code? |
To add new drawing backend, you should be generally interested in two places:
Actual draw operations are performed in DrawCommand derived classes, eg. here |
the unused memory is about 2-3G,the resource is sufficient. |
I will need more of your help with reproducing this issue, as I am not able to reproduce this issue within my development evrionment. Could you please provide contents of Peak memory usage for your Gerber file is around 1.6GB on my system, therefore I am still considering this a possible cause, thus OS might have refused allocating continuous block of 240MiB Please try using lower DPI setting and verify if issue occurs also to smaller DPIs. |
@jekoie please let me know if you are willing to help with reproduction. |
Pinging @jekoie |
My gerber file see bellow
code sample
console error
Another, I notice the pcb-tools nobody maintained, and you re-new a new gerber project.I use part of pcb-tools projects to draw PyQt/PySide graph.But I don't now how to use your code draw PyQt/PySdie shape.I had read small part of your code,but I not found the code that draw the shape(like cairo).
The text was updated successfully, but these errors were encountered: