Skip to content

[cuebot] Memory pool reserved doesn't return to 0 after a frame is finished #2218

@sericicole

Description

@sericicole

Describe the bug
After a frame finish, instead of returning to 0, the memory reserved field stays at 6144. This number increases proportionally to the number of frames launched.

At some point, this value was 12288, or was influenced by the minimum memory that can be set in a service, but we cannot reproduce this behaviour. For now the value stays at 6144, even on different hosts.

To Reproduce
Submit this job and verify the int_memory_idle in the database or the memory attributes of your host in the UI

import outline
import outline.modules.shell

# Create a new job
job = outline.Outline(
    name="my-first-job",
    shot="tutorial", 
    show="learning",
    user="student"
)

# Add a simple layer that prints frame numbers
test_layer = outline.modules.shell.Shell(
    name="test-layer",
    command=["echo", "Processing frame #IFRAME#", "&&", "sleep", "5"],
    range="1-1"
)

# Add the layer to the job
job.add_layer(test_layer)

# Submit the job
print("Submitting job:", job.get_name())
outline.cuerun.launch(job, use_pycuerun=False)
print("Job submitted successfully!")

Expected behavior
The idle memory of an host should return to is highest level after a frame finish.

Screenshots
Image

Version Number
1.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions