Board index FlightGear Support Flying

ulimit helps against memory leak

Controlling your aircraft, using the autopilot etc.

ulimit helps against memory leak

Postby pommesschranke » Thu Dec 22, 2016 10:41 pm

I just succesfully tried

Code: Select all
ulimit -m 8000000
ulimit -v 8000000

to limit the RAM usage to 8GB.
Now, when I have a car accident with HerbyW's followme car, the kernel will kill Flightgear before FG eats all my RAM+swap and freezes my PC.

It would be even cooler if someone finds and fixes this memory leak (in jsb FDM ?)
Before the FG-crash the car spins wild in the air and the G-force in the HUD rises until it becomes "NaN"
Posts: 1104
Joined: Sat Apr 27, 2013 7:58 pm
Location: EDLM & LJCE
Callsign: d-laser
IRC name: laserman
Version: git
OS: Linux Lubuntu 18.04

Return to Flying

Who is online

Users browsing this forum: YandexBot [Bot] and 2 guests