Recent

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

snorkel

  • Hero Member
  • *****
  • Posts: 776
Laz 1.8.2 No memory left
« on: March 05, 2018, 09:49:20 pm »
I recently installed 1.8.2 and when I went to rebuild the IDE like I usually do after a update I get this error now:

Code: Pascal  [Select]
  1. Build IDE: Exit code 2, Errors: 1
  2. Fatal: No memory left

I reinstalled over the 1.8 and upgraded the config then went to rebuild and in the past this always worked, never had to reinstall packages now it looks like I will have to start over and completely uninstall and reinstall each packages.

This is going from 1.8 to 1.8.2 so no compiler differences right?


***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #1 on: March 05, 2018, 10:06:46 pm »
Seem to be getting the out of memory error after I install a few packages.
I was able to install a few and now everyone after that results in the out of memory error.

I went into package manager and removed every package I installed and then started adding each one back and rebuilding the IDE.
Guess I will just blow the whole install away and install from scratch.
« Last Edit: March 05, 2018, 10:08:26 pm by snorkel »
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3548
  • I like bugs.
Re: Laz 1.8.2 No memory left
« Reply #2 on: March 05, 2018, 10:22:09 pm »
I also once got a similar error after my local code changes. A clean build of Lazarus solves it like it solves most compilation problems.
Select "Clean all" in Configure Build Lazarus dialog or delete all .ppu and .o files manually.

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #3 on: March 05, 2018, 10:53:45 pm »
Well, I completely uninstalled and began installing each package and I am getting the fatal out of memory error again after using the online package manager to install indy 10.
 I used the uninstall programs to uninstall and then I completely removed the c:\lazarus dir and then ran the setups again (32bit) ide and cross compiler for 64bit
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #4 on: March 05, 2018, 10:57:06 pm »
I was able to install about 7 packages now all the ones I try result in the out of memory error when linking lazarus.exe.
My PC has 16gb of ram by the way, and I just installed 1.8.0 last week on this PC (new PC, never had laz on it before 1.8.0) and did not have this out of memory issue when linking lazarus.exe.  Something appears to be messed up.
« Last Edit: March 05, 2018, 10:58:50 pm by snorkel »
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #5 on: March 05, 2018, 11:02:59 pm »
Ok, blowing it away again and this time removing the laz directory in the appdata directory for my user.
It's completely gone now no traces anywhere.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #6 on: March 05, 2018, 11:13:51 pm »
Still getting the out of memory error after I install some packages, this time I installed Indy first via online package manager and it worked no problem, then VirtualTreeview and LCL extensions via online package manager as well as powerpdf and Industrial stuff controls.
Then went to install lazreport and the PDF export for it and bam out of memory.

This was after a complete purge of my system, c:\lazarus completely removed as well as the lazarus folder in local appdata directory for my user account.

It's almost as if it's erroring  out when a certain number of packages are installed.  I am going to remove the laz report and see if anything else will install.

« Last Edit: March 05, 2018, 11:25:05 pm by snorkel »
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #7 on: March 05, 2018, 11:22:25 pm »
Ok, looks like LazReport is the culprit i.e. the one in the install/uninstall packages and Zeoslib from the online package manager also causes a out of memory error when linking lazarus.exe.

Something is messed up either with the packages or with 1.8.2.  I guess I am going to go back to 1.8.0.

I guess I will uninstall Virtualtreeview and indy and see if lazreport will then install.   Not for sure clear if it's certain packages or just the number of packages installed.

Update1: I removed Indy 10 and then Lazreport installed, now going to see if Zeos lib will install.
update2: zeos fails, going to remove another package and see if Zeos installs.

Ok, removed lazreport and then zeos installed, it's looking like a package number issue.  weird.  going back to 1.8.0
« Last Edit: March 05, 2018, 11:35:32 pm by snorkel »
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #8 on: March 06, 2018, 12:09:13 am »
installing 1.8 and will report back if there are any issues.

It is super odd that I had package issues with 1.8 as the compiler did not change.  I am not sure if it was the packages or something else that was causing these out of memory issues.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

wp

  • Hero Member
  • *****
  • Posts: 5119
Re: Laz 1.8.2 No memory left
« Reply #9 on: March 06, 2018, 12:26:42 am »
When you reinstalled Laz did you do delete your user settings? It could be that the issue is in there.

Alternatively you can do a secondary installation which leaves the old one alone and writes your settings into a folder of your choice.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4940
    • wiki
Re: Laz 1.8.2 No memory left
« Reply #10 on: March 06, 2018, 12:29:09 am »
If the error happens while linking, try to disable smart linking.
Just for building the IDE, you can use it in your apps.

jamie

  • Hero Member
  • *****
  • Posts: 969
Re: Laz 1.8.2 No memory left
« Reply #11 on: March 06, 2018, 12:42:38 am »
I do know if it is being built with debug info and not using an external file, the EXE will be huge!!!!!

Is It possible this is happening ?

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #12 on: March 06, 2018, 02:31:39 am »
Well, I went back to 1.8 and it's still doing it :-(

I even under clocked the memory in case it was due to the fact I had it overclocked for a Ryzen CPU.
I just don't get what's going on here, all this stuff installed fine a week and half ago...
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #13 on: March 06, 2018, 02:41:29 am »
I watched the memory consumption and it's using around 450mb while compiling and linking, there is gobs of free memory.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit

snorkel

  • Hero Member
  • *****
  • Posts: 776
Re: Laz 1.8.2 No memory left
« Reply #14 on: March 06, 2018, 02:58:06 am »
I wonder if it's some stupid windows 10 update for specter or that other damn thing with the CPUs...
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 1.8 and FPC 3.0.4
OS: Windows 10 64 bit