Comments (7)
@dmlaj68 the RangeError: Invalid string length
message isn't very accurate, it means that you're running out of memory creating the _metadata.json
file. Make sure you have more memory when you create your collection. If you don't want to have to regenerate, you could probably create _metadata.json
from the existing metadata files.
from hashlips_art_engine.
@dmlaj68 the
RangeError: Invalid string length
message isn't very accurate, it means that you're running out of memory creating the_metadata.json
file. Make sure you have more memory when you create your collection. If you don't want to have to regenerate, you could probably create_metadata.json
from the other metadata files.
how would i go about doing that?
thanks for your reply
from hashlips_art_engine.
on this particular run the machine has 16gb
I also ran a much slower generation on a VPS which had 120gb Ram lol and that threw the same error
from hashlips_art_engine.
@dmlaj68 the
RangeError: Invalid string length
message isn't very accurate, it means that you're running out of memory creating the_metadata.json
file. Make sure you have more memory when you create your collection. If you don't want to have to regenerate, you could probably create_metadata.json
from the existing metadata files.
Is there any other solution you can think of
When running the operation the memory doesn't go above 72% usage and as above the VPS I tried on has 120gb ram so that definitely shouldn't run out
from hashlips_art_engine.
@dmlaj68 maybe your collection is just too big for node to stringify at once. You could try using my fork, which creates the json as a stream. (my fork is also much faster).
from hashlips_art_engine.
@dmlaj68 maybe your collection is just too big for node to stringify at once. You could try using my fork, which creates the json as a stream. (my fork is also much faster).
just tried your suggestion but im getting an error when running node index.js to run the generation
PS C:\hashlips_art_engine-main> node index.js
node:internal/modules/cjs/loader:1146
throw err;
^
Error: Cannot find module 'JSONStream'
Require stack:
- C:\hashlips_art_engine-main\src\main.js
- C:\hashlips_art_engine-main\index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:179:18)
at Object. (C:\hashlips_art_engine-main\src\main.js:6:20)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Module.require (node:internal/modules/cjs/loader:1231:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\hashlips_art_engine-main\src\main.js',
'C:\hashlips_art_engine-main\index.js'
its setup the same as with the OG files so not sure what the issue is, the files is says are missing are definitely there
from hashlips_art_engine.
@dmlaj68 have you tried running npm i
again?
from hashlips_art_engine.
Related Issues (20)
- TokenID HOT 1
- Cannot install Canvas on windows HOT 1
- npm run buid bug HOT 1
- Adding external url to metadata for node update_info.js HOT 2
- how to generate Giff nft collection using Giff Layers? HOT 1
- Unexpected token HOT 3
- Please help npm not install error old please help them any one HOT 7
- What is ENOENT error please help me HOT 2
- npm run generate not working (i already tried npm install) HOT 6
- SVG Support HOT 2
- npm install canvas packages couldn't install canvas :( HOT 1
- how to fix (node:15176) UnhandledPromiseRejectionWarning: Error: ENOENT, No such file or directory ' Error? HOT 1
- I got this error what should I do? HOT 2
- sbatin
- m
- Layer info
- How do you remove const signImage from config.js so it doesn't appear on the picture. HOT 1
- help me I can't figure out what's the matter HOT 8
- I have a question about NFT generation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hashlips_art_engine.