Skip to content

Out of CPU Memory #1357

Answered by vladmandic
TheOnlyHolyMoly asked this question in Q&A
Jun 8, 2023 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

i've spend counless hours on this.

is it a memory leak?

yes, its more than possible there are memory leaks, especially in secondary workflows.
for example, if you generate an image using 3 loras, but then change 1 lora and generate again? each lora has to restore model layers it modified, but when you have multiple objects modifying same thing, errors can happen.
i just used lora as an example, but same can happen when you have any extension actively modifying underlying data.

but in a simple workflows, i cannot detect any memory leaks anymore - up to the point i'm running my setup with gc disabled.

but my cpu memory keeps growing anyhow?

well, two things:

  • python's built-in asyncio packa…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@TheOnlyHolyMoly
Comment options

@vladmandic
Comment options

Answer selected by TheOnlyHolyMoly
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants