Opened 11 years ago

Closed 11 years ago

#2239 closed bug (fixed)

kernel doesn't free memory that was requested from userspace programs

Reported by: kaoutsis Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

  • boost_1_35_0.tar.bz2
  • ~/Desktop/boost_1_35_0> pwd

/boot/home/Desktop/boost_1_35_0 ~/Desktop/boost_1_35_0> ./configure --includedir=/boot/develop/headers/ --libdir=/boot/home/config/lib/

  • ~/Desktop/boost_1_35_0> make install
  • after making a lot of targets, mostly copying the boost headers

to the destination directory, the memory of kernel team increases constantly and then happens the 'vfork: Out of memory'. From that moment, it's impossible to build the rest 163 targets, if you try again the 'make install'; see vfork.png and ProcessController-status.png, the memory is never freed.

Attachments (2)

vfork.png (49.0 KB) - added by kaoutsis 11 years ago.
ProcessController-status.png (53.6 KB) - added by kaoutsis 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by kaoutsis

Attachment: vfork.png added

Changed 11 years ago by kaoutsis

comment:1 Changed 11 years ago by kaoutsis

revision is hrev25539

comment:2 Changed 11 years ago by kaoutsis

Summary: kernel doen't free memory that was requested from userspace programskernel doesn't free memory that was requested from userspace programs

comment:3 Changed 11 years ago by ddew

If it helps I experience the same issue when building haiku in haiku. Restarting the build fails with the same error but a reboot sorts it out.

comment:4 Changed 11 years ago by bonefish

Resolution: fixed
Status: newclosed

Several kernel memory leaks have been fixed in the meantime and the low memory management has been improved. Furthermore swap support is enabled now. This should be fixed. If it isn't, please re-open.

Note: See TracTickets for help on using tickets.