-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Compiler crash with large numbers and some y-tick-step values #404
Comments
I would say the crash is coming from the use of 1e15 * rho in your function which causes at least 34GBs of memory allocation which is just crazy. Not entirely sure what the purpose of |
The purpose is to limit the number of ticks drawn, although the check comes too late in this case. Then OOM crash is due to allocation of a huge array because of the low |
Does this also explain that the compiler crash does not occur in middle of the tested |
Yes, because of the fewer ticks, fewer memory gets allocated. |
I don't understand:
|
I did not test why this happens, but it should be fixed on 0.2.0 now. |
The compilers crashes on certain values for
y-tick-step
e.g.1e12
and1e6
. In between for1e10
it works and the expected message is displayed.Is this related to cetz or the compiler?
The text was updated successfully, but these errors were encountered: