Skip to content

A lot of temp files are created but not deleted #140

Open
@cdhermann

Description

When running the model a lot of temp files with a file size of 8 MB are created but never deleted. They aren't deleted while the program using the model is running. They aren't deleted after the program terminates.

E.g.

-rw-r--r--   1 usr usr 8.0M Jan  2 03:54 ffeca7a8-bfbe-41c7-a05f-82a1d42dfec4-L0C2.page
-rw-r--r--   1 usr usr 8.0M Jan  2 03:54 ffeca7a8-bfbe-41c7-a05f-82a1d42dfec4-L0C3.page
-rw-r--r--   1 usr usr 8.0M Jan  2 03:54 ffeca7a8-bfbe-41c7-a05f-82a1d42dfec4-L0C4.page
-rw-r--r--   1 usr usr 8.0M Jan  2 03:54 ffeca7a8-bfbe-41c7-a05f-82a1d42dfec4-L0C5.page
-rw-r--r--   1 usr usr 8.0M Jan  2 03:54 ffeca7a8-bfbe-41c7-a05f-82a1d42dfec4-L0C6.page
-rw-r--r--   1 usr usr 8.0M Jan  2 03:54 ffeca7a8-bfbe-41c7-a05f-82a1d42dfec4-L0C7.page
-rw-r--r--   1 usr usr 8.0M Jan  2 03:54 ffeca7a8-bfbe-41c7-a05f-82a1d42dfec4-L0C8.page
-rw-r--r--   1 usr usr 8.0M Jan  2 03:54 ffeca7a8-bfbe-41c7-a05f-82a1d42dfec4-L0C9.page

OS: Linux XXX 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux
Java: OpenJDK21U-jdk_x64_linux_hotspot_21.0.5_11.tar.gz from https://adoptium.net/de/temurin/releases/?os=linux&arch=x64&package=jdk
Jlama version: 0.8.3

The model is run as shown in the README without langchain4j and without the builder pattern.

The temp files flood the disk until no disk space is available anymore.

What are these temp files for? When can they be deleted safely?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions