this post was submitted on 31 Aug 2024
881 points (98.6% liked)
196
16552 readers
2545 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I really hope you don't know about this 4GB limit specifically because you've run up against it while doing anything real-world.
Canvas code can get out of hand very quickly if not done right
I've made exactly two projects that utilized canvas, both of which I "released" in a sense. One contains 248kb of JS code and the other contains 246kb. That's before it's minified.
So I guess that means I did my canvas code right. Lol.
(Unless you meant 3d canvas or WebGL stuff with which I haven't played.)
Code size isn't really related to how much graphics data you're throwing in RAM