linux-live icon indicating copy to clipboard operation
linux-live copied to clipboard

Possible memory leak at gen-linux-iso.sh?

Open agoodfellow123 opened this issue 2 years ago • 1 comments

Hello I had an iso that i wanted to create that was little over 4GB so I enabled the -allow-something-something flag (I'm sorry I don't remember the name of the flag) in the gen-linux-iso.sh. Process started to run with no errors at start but at %50 my DE crashed. So I opened tty and checked top. Top said only few hundreds of memory available. But I gave my virtual machine 8GB of ram. I tried running it again from tty after like %67 it crashed tty and now I can't even log in. I'm assuming that's a memory leak.

agoodfellow123 avatar Jul 25 '22 15:07 agoodfellow123

First, you should try to provide all the context and accurate data when opening an issue (like not providing the flag name, it is important to understand your issue) Now, maybe this answer is late haha, but what gen-linux-iso.sh does is to run mkisofs as you can see on this line: https://github.com/Tomas-M/linux-live/blob/64247368a633d07f10f1dbef251071a63c19cf5a/build#L81-L84 So, if you're worried about memory leak, the best would be post the issue on their project (which i'm not sure where they are). Now, most likely thing is that your VM is running out of memory. Just increase the amount of RAM and you should be fine, but who knows, there's not enough context for knowing the specific problem.

equetzal avatar Nov 02 '22 05:11 equetzal

I've experienced similar when the sb size exceeds the amount of ram available. If your including a file larger than 4gb it's possible you need more than 8gb

computermaster0101 avatar Nov 16 '22 03:11 computermaster0101