Am 21.03.2018 um 23:01 schrieb Alan Cox: >> But the distro situation was similar with previous releases, so I don't >> think this accounts for the low number of bug reports after the 3.7.0 >> release. > > It could just be it has less bugs than before. It builds all the Fuzix > code properly now you've fixed the two bugs I reported. That's way better > than any previous 'release' version. > > The only problem I still hit is that I've got apps that need upwards of > 20GB of RAM to compile, which for 30K of resulting binary is a bit > excessive 8) > > Alan >
AFAIK you compile with --max-allocs-per-node 100000. A RAM usage of 20 GB seems excessive for that. The RAM usage in the register allocator is per function, so if the RAM usage is due to the register allcoator, it should be possible to track it down to a signgle function. And the other parts of SDCC shouldn't need that much RAM either. Philipp P.S.: Though there is already an open bug report about excessive RAM usage, which might or might not be the issue you see for your code. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user