#A possible explanation for Neuro's RAM use increasing on shutdown

1 messages · Page 1 of 1 (latest)

hearty wolf
#

I have noticed that Vedal seems to mention Neuro's RAM use increasing when restarting her. My theory is that she is saving something like chatlogs or something else related to long-term memory, which is loaded into a RAM cahce or preprocessed in RAM before saving to disk or to a server. This to me seems like a logical explanation of why the RAM use goes up when shutting down/restarting, but it could also be something completely different.
If you would want to get rid of it and my theory is correct (although this might slow down restarting in the preprocessing case), it might be possible to either write the data directly to disk or do the preprocessing on disk instead of in RAM.

hard drum
#

He mentioned that Unity leaks memory from time to time.

hearty wolf
#

Why would it spike like that at shutdown due to a memory leak though? Memory leaks happen over time, not in a small moment. It could technically also be Unity releasing a huge amount of paged RAM from disk trought the regular RAM

hard drum
#

Well, it depends. In my practice, Live2D plugin can just leak in an instant and fill up all the accessible RAM.

#

That's still an unsolved mystery.

hearty wolf
#

But why for specifically unloading everything? To me that seems like a RAM cache being used for shutdown tasks or some kind of pagefile release

hard drum
#

I might've missed the crucial addition in the title catSUS

hearty wolf
#

I assume the "shutdown" part