flat assembler
Message board for the users of flat assembler.
Index
> Windows > [fasmg] How do I exceed 4 GB memory usage? |
Author |
|
Ali.Z 04 Mar 2022, 22:22
Aulimaitar wrote: Is there a 64-bit version for a different OS that would be able to compile my program? Linux. _________________ Asm For Wise Humans |
|||
04 Mar 2022, 22:22 |
|
Aulimaitar 04 Mar 2022, 22:31
Thanks!
|
|||
04 Mar 2022, 22:31 |
|
Tomasz Grysztar 08 Mar 2022, 18:36
All versions of fasm/fasmg are limited to 4G, as the assembler core uses 32-bit pointers in its data structures. The x64 variants are provided solely because of systems (like some Linux versions) that have no ability to run 32-bit executables.
However, it is very unusual for fasmg to actually need this much memory - even the assembly of HeavyThing, which is a substantial project, requires only about 40-50 MB of memory. If the memory usage goes into GB range for a more or less standard program, it is caused either by a bug in the assembler or by some runaway inefficiency in the macros used in the project. In either case this would need further investigation, as it is very unlikely that it truly needs to use that much memory (if it was usual for memory requirements to be that high, I would work on an actual 64-bit version of fasmg, but it's not). |
|||
08 Mar 2022, 18:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.