>Why is it a problem for you to run editbin on the exe? I'm think more about people trying to use my program. They'll also have to find/install editbin and then run it properly on pypy.exe. And I'll have to make directions for this extra step, and that means people won't. It would be simpler if it just worked.
Is the flag really going to create problems? It's not changing the code, that's why it can be changed after the fact by editbin. It's simply a flag in the header that the Windows kernel sees and arranges it's address space to make more available. >Better to run out of memory than to use cffi to call some random dll andhave >it explode. I don't agree. I know the running out of memory sucks. The app completely dies and you loose everything. Really, there's nothing to recommend about it. And the random dll exploding? I have no idea if this is real. Does anyone actually know or is this more of a guess? Is the top address bit reserved for CFFI purposes? I see no allowance of that in the latest CFFI doc. My actual preference would just be to have a 64 bit version available. That solves the entire problem and is easy to document. But that opens up a whole other set of issues beyond this. Actually, is there a web page describing the problems and potential fixes? Those issues seems at least as deserving of a web page as the largeaddressaware flag. -Roger ________________________________ From: Amaury Forgeot d'Arc <amaur...@gmail.com> To: matti picus <matti.pi...@gmail.com> Cc: Roger Flores <aide...@yahoo.com>; PyPy Developer Mailing List <pypy-dev@python.org> Sent: Saturday, April 6, 2013 7:36 AM Subject: Re: [pypy-dev] 2GB Limit on Windows 2013/4/6 matti picus <matti.pi...@gmail.com> I was under the impression that that link flag can cause problems for 32 bit systems, but maybe we don't care? For instance see this http://stackoverflow.com/questions/5185406/how-does-the-large-address-aware-flag-work-for-32-bit-applications-on-64-bit-com. Why is it a problem for you to run editbin on the exe? You need a compiler to translate anyway, right? Or are you running out of memory in regular usage of pypy? Too many questions, I'll stop here.I think the initial request was for the win32 nightly build. The flag could cause issue for programs which assume that the high bit is never set for pointers, and use it for another purpose. It's not the case for pypy, because we reserve such tricks to Linux ;-) And I guess it's the same for all other libraries we link with, since they are also cross-platform. -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev