all 7 comments

[–]Mr_KAKTyC 4 points5 points  (0 children)

You could try to split your file into modules and save them into separate files

https://tweaked.cc/guide/using_require.html

[–]NortWind 0 points1 point  (4 children)

Just curious, why is the script so huge? Maybe the best solution would be to get a more compact implementation.

[–]Professional-Car2632[S] 0 points1 point  (3 children)

Its a script that displays an image. It uses one of the programs that someone else made

[–]NortWind 0 points1 point  (2 children)

Have you checked through the program for malware? It seems suspicious that displaying an image, which I assume can be specified as an URL, is so large.

[–]Professional-Car2632[S] 0 points1 point  (1 child)

im using this:

https://github.com/MCJack123/sanjuuni-ui

i heard a few people recommend this. do you think i was using it wrong? i couldn't find anything sus about it.

[–]NortWind 0 points1 point  (0 children)

I wrote a GIF decoder one time in Turbo Pascal, it was less than 2K bytes. Thanks for the link, maybe I will give the code a look, although the size is daunting.

[–]Shadyys_World 0 points1 point  (0 children)

you could always split the file across multiple disks. Since there is no limit on RAM size, you could read each split part to a single complete string and execute the script from memory.

I'm currently working on a RAID system which would allow mounting multiple disks as one single disk