Visit ComfyUI Online for ready-to-use ComfyUI environment
Optimize system memory usage for AI art tasks by clearing RAM, file caches, DLLs, and process memory efficiently.
The RAMCleanup node is designed to optimize your system's memory usage by cleaning up unnecessary RAM consumption, which can enhance the performance of your AI art generation tasks. This node is particularly useful in managing memory resources efficiently, ensuring that your system remains responsive and capable of handling intensive processes. By freeing up RAM, it helps prevent slowdowns and potential crashes, allowing you to focus on your creative work without technical interruptions. The node achieves this by offering options to clear file caches, unused DLLs, and process memory, making it a versatile tool for maintaining optimal system performance.
This parameter acts as a placeholder for any input data that might be passed through the node. It does not directly affect the RAM cleanup process but ensures compatibility with other nodes in a workflow.
This boolean parameter determines whether the node should attempt to clear the file cache. Enabling this option can help free up memory that is being used by cached files, potentially improving system performance. The default value is True
.
This boolean parameter specifies whether the node should clean up memory used by processes. When enabled, it attempts to reduce the working set size of processes, which can help in reclaiming memory. The default value is True
.
This boolean parameter controls whether the node should clean up unused DLLs. By freeing up memory occupied by these DLLs, the system can allocate resources more efficiently. The default value is True
.
This integer parameter sets the number of times the node will attempt to clean the RAM if the initial attempt fails. It allows for multiple retries to ensure that the cleanup process is successful. The default value is 3
, with a minimum of 1
and a maximum of 10
.
This hidden parameter is used internally to uniquely identify the node instance. It does not require user input and is managed automatically by the system.
This hidden parameter is used to store additional information related to PNG files. It is not directly related to the RAM cleanup process and is handled internally.
The output parameter returns the input data passed through the node, allowing it to be used in subsequent nodes within a workflow. This ensures that the data flow is maintained while the RAM cleanup process is executed.
clean_file_cache
, clean_processes
, and clean_dlls
to maximize memory cleanup and improve system performance during intensive tasks.retry_times
parameter if you encounter issues with the initial cleanup attempt, allowing the node to make multiple attempts to free up memory.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.