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

Uncaught exception: Error: Cannot create a string longer than 0x1fffffe8 characters #645

Open
1 task
Nymerea opened this issue May 19, 2023 · 3 comments
Open
1 task

Comments

@Nymerea
Copy link

Nymerea commented May 19, 2023

Type: Bug Report

  • Try to follow the update procedure described in the README and try again before opening this issue.

Your Environment

I'm on arch linux, i've installed flood. It was working well

Summary

After a system restart, flood is unable to start with the folowing stack :

npx flood
Flood server 4.7.0 starting on http://127.0.0.1:3000

(node:627) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
[Axios v4.7.0] Transitional option 'clarifyTimeoutError' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v4.7.0] Transitional option 'forcedJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v4.7.0] Transitional option 'silentJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
FATAL internal error. Please open an issue.
Uncaught exception: Error: Cannot create a string longer than 0x1fffffe8 characters
npm notice 
npm notice New major version of npm available! 8.19.2 -> 9.6.7
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.7
npm notice Run npm install -g [email protected] to update!
npm notice 

Look like I've reach the file limit of 500mb for a json. How that's possible ? Is there a way to clean it ?

@brndd
Copy link

brndd commented May 28, 2023

I am also hitting this problem after upgrading from Fedora 37 to 38.

@brndd
Copy link

brndd commented May 28, 2023

In my case the issue was that /db/[randomstring]/history/fiveMinSnapshot.db in the Flood config directory was about 700 MB in size. Removing that file solved the issue.

@dvdgsng
Copy link

dvdgsng commented Jun 5, 2023

dupe of #399

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

3 participants