aclysma / rendering-demo-scenes

Scripts to import data into blender for use with testing/benchmarking renderers
12 stars 1 forks source link

Can I avoid OOM killing on a 8GB non-GPU laptop #4

Open phstrauss opened 10 months ago

phstrauss commented 10 months ago

I'm trying to run blender -b -P generate-bistro.pyon a Ryzen2 8GB laptop with integrated GPU on the bistro scene and the linux oom killer kicks-in and kill my shell. Can I tell blender to try to use less memory?

phstrauss commented 10 months ago

I was able to obtain a .blend file after switching to sudo init 1 but now it's blender which trigger an oom kill when exporting to a .gltf file, do i still have hope on this 8GB laptop? It's for testing rust wgpu on various hardware.

aclysma commented 10 months ago

That's weird. When a machine runs "out of memory" it should swap to disk. So it should not fail, it may just run very slowly. Do you not have a swap file?

phstrauss commented 10 months ago

Thanks, the swap file was only 2GB, I've expanded it and can convert the bistro scene now! :)