Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

out of memory on long chat input #560

Open
jrozentur opened this issue Dec 16, 2024 · 0 comments
Open

out of memory on long chat input #560

jrozentur opened this issue Dec 16, 2024 · 0 comments

Comments

@jrozentur
Copy link

Attempted to summarize a large (66k) file on 2024 Mac mini (24gb) via chat ui

libc++abi: terminating due to uncaught exception of type std::runtime_error: Attempting to allocate 37701212224 bytes which is greater than the maximum allowed buffer size of 12884901888 bytes.

This exited the process. Not sure why, the box has plenty of swap, and about 12gb used by cached files, which is reclaimable. At least some safeguard is needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant