You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.
range() does have to keep all of the values in memory, so using a lot of RAM is expected. 3 GB is a bit high, however. I just did a quick test on my Mac and IronPython (using 32-bit Mono) was 227 MB, compared to 315 MB for 64-bit CPython. PyPy, by comparison, used only 32 MB.
You can probably avoid the memory issue by using xrange() instead, but I'm curious if there's more to your application that causes it to use so much RAM.
After I use range(1,10000001), the memory usage of IronPython will be very huge.(Up to 3GB)
Is it a bug?
The text was updated successfully, but these errors were encountered: