Replies: 4 comments 3 replies
|
Hi @MGP1893, even I am new to Seurat, but can you tell what was the saving format of the seurat object? I suppose likely RDS? I usually save it as .qs, I think that is faster. Also, you might be hitting the RAM capacity of your system. It will be great if you can specify what system are you using and how much capacity it has. |
|
Hello, |
|
Hi, in addition to Anjaney10's question above (whether other environment variables are saved), can you verify whether re-saving the file after running through the code, and then re-loading it reproduces this problem or not? |








Uh oh!
There was an error while loading. Please reload this page.
Hello,
I've only been using Seurat for a couple of months, so my technical knowledge is still developing. Recently I tried to load a saved Seurat object, 9.9GB, and found that memory usage after the file was fully loaded was quite high, to the point where I was getting BadAlloc warnings while doing simple things. I tried gc() after that several times, but there was no improvement in memory usage. If I run through the code, however, to create the same file, garbage collection works fine. Hopefully this makes sense to someone. Is there any other way to force garbage collection? (I also tried the "Free Unused R memory" button in the environment tab.
All reactions