You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to plot an .SVG file of 9MB with lots of tiny paths. Saxi runs on a Raspberry PI with 4GB memory. The path planning phase goes ok, but nothing happens.
I'm running the latest Saxi on Node 18.16 on the PI. Looking in /var/log/syslog I see this:
PayloadTooLargeError: request entity too large
at readStream (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/raw-body/index.js:156:17)
at getRawBody (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/raw-body/index.js:109:12)
at read (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/body-parser/lib/read.js:79:3)
at jsonParser (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/body-parser/lib/types/json.js:135:5)
at Layer.handle [as handle_request] (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/express/lib/router/index.js:328:13)
at /home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/express/lib/router/index.js:346:12)
at next (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/express/lib/router/index.js:280:10)
at serveStatic (/home/pi/.nvm/versions/node/v18.16.0/lib/node_modules/saxi/node_modules/serve-static/index.js:75:16)
Any ideas?
The text was updated successfully, but these errors were encountered:
Hah! Nice yo see you here @wwatkns, and thanks :) Now if I only remember what I was plotting a year ago. I might even have solved it by truncating all floating points, but your solution looks more future proof.
I'm trying to plot an .SVG file of 9MB with lots of tiny paths. Saxi runs on a Raspberry PI with 4GB memory. The path planning phase goes ok, but nothing happens.
I'm running the latest Saxi on Node 18.16 on the PI. Looking in
/var/log/syslog
I see this:Any ideas?
The text was updated successfully, but these errors were encountered: