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
creating 666 rings in singular fails with an out of memory error on 32-bit intel os x. #3760
Comments
comment:1
Could someone with 32-bit intel os x try this again, since it is possible that the patch for #3961 (merged in 3.1.2.alpha2) fixes this. If not I can try to look into it but I'm not sure how to as it works fine on my laptop. |
comment:2
#4179 is a duplicate of this ticket and has some additional info. Cheers, Michael |
comment:3
Just for the record: I had tried to get a grip on this issue, the outcome is trac ticket #4181 --- once that ticket is fixed, this one will (most probably) be resolved, too. Hopefully. Cheers, gsw |
comment:4
The following code specifically seems to expose the problem:
On sage.math the memory increase is about 70 MB with Sage 3.2.2.rc0, so I have no idea how this could fail on OSX. Cheers, Michael |
comment:5
This exposes the problem much more clearly on my MacBook Pro:
|
comment:6
This is really a problem with Singular. It has nothing to do with elliptic curve:
Argh! |
comment:7
By the way, it says "mminit.cc" in the above, since I hardcoded that into the singular library -- the message is being printed from a hardcoded message in mminit.cc in the singular kernel. |
comment:8
Yippieh:
|
comment:9
Unless someone fixes #5344 in the next 24 hours this will not go into 3.4. Cheers, Michael |
comment:10
For the record: The underlying problem is now known: Singular/omalloc relies on a version 2.6.5 of dlmalloc from 1998, and that version behaves bad on Macs. In the course of the investigation, another Singular/kernel bug got in the way. I think I know how to circumvent this Singular/kernel bug ("just" drop in the recent dlmalloc 2.8.3 at the place of the old version, and/or prevent omalloc's "configure" from setting the macro "OMALLOC_USES_MALLOC"), but I thought I try and fix that other bug first. BTW: |
Component: number theory
Issue created by migration from https://trac.sagemath.org/ticket/3760
The text was updated successfully, but these errors were encountered: