Houdini doesnt release ram while rendering frame in Solaris

   3245   11   2
User Avatar
Member
6 posts
Joined: Oct. 2023
Offline
Im rendering a Flip simulation and i realize every frame is accumulating in my memory and because for this is using a lot of virtual memory which cause increasing use of my hard drive and slower time rendering and soon or late it crash after a couple of freames, to fix that i have to increase the virtual memory, but when houdini is using my virtual memory the time for rendering is increasing , there is any script so i can release the memory every 2 frames of rendering for example?
thanks in advance!

win11 128gb ram

TLDR: lets say i want to render 20 frames, the first 3 frames is using less than 128gb of ram so its using the speed of my ram, but after those 3 frames is start using my virtual memory and the rendering time increase significaly because is using my m.2 writing speed which is 4 times slower.
User Avatar
Member
81 posts
Joined: Dec. 2020
Offline
I have my pc set in windows to release ram every 5 mins if you can't find a way this may help
User Avatar
Member
8334 posts
Joined: Sept. 2011
Online
Jonarave
Im rendering a Flip simulation and i realize every frame is accumulating in my memory and because for this is using a lot of virtual memory which cause increasing use of my hard drive and slower time rendering and soon or late it crash after a couple of freames, to fix that i have to increase the virtual memory, but when houdini is using my virtual memory the time for rendering is increasing , there is any script so i can release the memory every 2 frames of rendering for example?
thanks in advance!

win11 128gb ram

TLDR: lets say i want to render 20 frames, the first 3 frames is using less than 128gb of ram so its using the speed of my ram, but after those 3 frames is start using my virtual memory and the rendering time increase significaly because is using my m.2 writing speed which is 4 times slower.

are you rendering from a cache? Is the cache already on disk as usd when you render? I would think the memory would be released after each frame since husk will start and stop after each frame unless you enable render all frames in a single process. If you render directly from a live simulation then the simulation will all still be in memory when you go to render it.
User Avatar
Member
32 posts
Joined: July 2018
Online
jsmack
Is the cache already on disk as usd when you render?
Hi jsmack, do you mean by when rendering in Solaris it's more efficient to cache as usd rather than bego.sc?
MotionCOPs toolkit - pushing COPS into motion design and dynamic effects territory.
https://github.com/Boning1011/motion-cops [github.com]
User Avatar
Member
6 posts
Joined: Oct. 2023
Offline
Getyamamout
I have my pc set in windows to release ram every 5 mins if you can't find a way this may help

i was talking about the commited ram where the virtual memory rise every frame without releaseing anything not the Cached, u can release that in windows?
User Avatar
Member
6 posts
Joined: Oct. 2023
Offline
jsmack
Jonarave
Im rendering a Flip simulation and i realize every frame is accumulating in my memory and because for this is using a lot of virtual memory which cause increasing use of my hard drive and slower time rendering and soon or late it crash after a couple of freames, to fix that i have to increase the virtual memory, but when houdini is using my virtual memory the time for rendering is increasing , there is any script so i can release the memory every 2 frames of rendering for example?
thanks in advance!

win11 128gb ram

TLDR: lets say i want to render 20 frames, the first 3 frames is using less than 128gb of ram so its using the speed of my ram, but after those 3 frames is start using my virtual memory and the rendering time increase significaly because is using my m.2 writing speed which is 4 times slower.

are you rendering from a cache? Is the cache already on disk as usd when you render? I would think the memory would be released after each frame since husk will start and stop after each frame unless you enable render all frames in a single process. If you render directly from a live simulation then the simulation will all still be in memory when you go to render it.

Im using USDrenderROP node and the cache is accumilating in my virtual ram, i attached a screenshot

edit: sorry for the late response and thank u all for helping me
Edited by Jonarave - Jan. 29, 2024 13:12:16

Attachments:
render.png (160.1 KB)

User Avatar
Member
81 posts
Joined: Dec. 2020
Offline
this is what I have for you Empty standby memory every 5 mins just can't remember how I changed it

Attachments:
help.png (624.8 KB)

User Avatar
Member
6 posts
Joined: Oct. 2023
Offline
Getyamamout
this is what I have for you Empty standby memory every 5 mins just can't remember how I changed it

Perfect I just do it and it delete the cache in the task manager it doesnt release the commited memory, im checking if this make the render faster, thank u!
User Avatar
Member
81 posts
Joined: Dec. 2020
Offline
https://youtu.be/ajKQB0SBs2I?si=t4EIAZG5Llgo77QN [youtu.be]

the link looks like what I did. I can't remember downloading anything but. I do see a program listed

Attachments:
help.png (490.1 KB)

User Avatar
Member
81 posts
Joined: Dec. 2020
Offline
This clearing of the cache will help with crashing issues. It helps with erosion sims on large landscapes etc you can see it working, by task manager / performance tab/open resource monitor / memory tab. It also helped with some games that used to end up with meshes disappearing after playing for too long. Not sure if it will boost any speed?
User Avatar
Member
6 posts
Joined: Oct. 2023
Offline
I tested and release cache it doesnt make any changes in the speed while rendering the secret is releasing the committed, so its faster to just render 10 frames, close houdini open it again and do another 10 frames so i can get 1 frame per minute instead of 4-30 minutes after it render more than 20 frames for example.
User Avatar
Member
6 posts
Joined: Oct. 2023
Offline
Getyamamout
This clearing of the cache will help with crashing issues. It helps with erosion sims on large landscapes etc you can see it working, by task manager / performance tab/open resource monitor / memory tab. It also helped with some games that used to end up with meshes disappearing after playing for too long. Not sure if it will boost any speed?

perfect i will leave it on
  • Quick Links