All app gets automatically closed

Hi, I have the same problem with vs codium in this thread App closes itself - #5 by gonza01
I use a 512mb swap file and I have 16 gb RAM.
I think the problem is with vscode/codium because it doesn’t occurs the same with another app.
I’ll try too increasing the swap file.