Author Topic: Laz 1.8.2 No memory left  (Read 22072 times)


  • Jr. Member
  • **
  • Posts: 86
Re: Laz 1.8.2 No memory left
« Reply #75 on: March 14, 2019, 12:08:12 pm »
thanks a lot @chenyuchih  ;)

works like a charme on WIN10 / 64Bit Lazarus 2.0.0 fpc 3.0.4

Lazarus in compatibility Mode to WIN7 and that's it!

best, michel


  • Hero Member
  • *****
  • Posts: 553
Re: Laz 1.8.2 No memory left
« Reply #76 on: March 14, 2019, 12:40:47 pm »
fpc 3.2 / 32 Bit solves the issue actual. It shifts the menorylimit from 1.8 GB to approx. 3.5 GB. But this is a hard limit - no way out, in 32Bit (with fpc). 


  • Hero Member
  • *****
  • Posts: 10198
Re: Laz 1.8.2 No memory left
« Reply #77 on: March 14, 2019, 12:51:49 pm »
That's not correct. Since fpc 2.6.4.
I am more like donkey than shrek


  • Hero Member
  • *****
  • Posts: 1910
    • Additional info
Re: Laz 1.8.2 No memory left
« Reply #78 on: June 15, 2019, 10:56:12 am »
Follow up info:

After translation to Lazarus 2.0 fixes and FPC 3.2 fixes (32bit on Win10x64), and after installing tons of components I have again faced "No memory left" error. This time I hit a hard limit. It happened with normal non optimized build mode, and my Lazarus executable came to an extreme size of 790MB. I was forced to do it like that because my favorite optimized settings "-O3 -g- -Xs -CpPENTIUMM -CfSSE3" after a while bring me to incompatible PPU issues with already installed components (clean all does not help). So, now I could not continue installing packages for one or the other reason. Being desperate, I started playing again with optimization switches. Finally, everything works again and I could continue installing packages without issues and bringing Lazarus executable size down to 64MB, so I want to share this in case anyone else bumps into the same problem.

These are optimized IDE options that work:
Code: Pascal  [Select][+][-]
  1. -O2 -g- -Xs -CpPENTIUMM -CfSSE3
« Last Edit: June 15, 2019, 11:01:17 am by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib


TinyPortal © 2005-2018