Repls using lots of storage

Skærmbillede 2023-03-15 235206
i have this in allmost all my repls where i use php webserver

Hi @hold-ulv3,

Are you using any kind of framework with your Repls? I ask because frameworks such as CodeIgniter and Laravel do consume quite a lot of resources.

The only other thing I can think of is using a considerable amount of dependencies, since those dependencies often have their own dependencies and so on…

2 Likes

i don’t think i use framework with your Repls
but you can check it out here
https://replit.com/@HOLDULV/bota-apex
https://replit.com/@HOLDULV/bota-apex-support
https://replit.com/@HOLDULV/HOLDULVLINKS
https://replit.com/@HOLDULV/HOLDULV-MUSIK

3 Likes

wait i just found a error on one of my php webservers

1 Like

I’ve taken a look at your Repls and they appear to contain WordPress websites.

WordPress uses up quite a lot of resources, especially storage so it makes sense why your Repls are reaching capacity.

The only way around this other than boosting your Repls to give them more resources would be to not use WordPress and slim down the sites with custom PHP or convert them to static HTML if you do not need PHP.

3 Likes

oh ok but i like wordpress bc i don’t have to make all things by my slef. ok what is the best free hosting service / sites for LAMP or wordpress

There aren’t really any free ones. I’m quite surprised Replit even allow us to install WordPress on the free plan, so we’re quite lucky in that sense.

You can do bounties to earn cycles, which you can spend on your Repls to give them more resources, all without spending any real money, which may be a good option.

1 Like

Are you talking about the Repl Resources tab being visible or…

No, they’re worried about how much storage their Repl is taking up.

1 Like

what happens if the storage goes to full

It is then full … whatever comes next crashes (like installing a module larger than the storage fails)

1 Like

@hold-ulv3 wordpress is in nixpkgs, try using it that way

wdym i allready have wordpress in my nix file

Are you using wordpress from nixpkgs?

no. i use it form another owner

When the storage goes full, the bar becomes orange to say that you can download anything anymore.

It actually is red when it is full, orange is fine (I have multiple repls with orange, and they’re okay)

not orange but with red and replace can with cannot

1 Like

Me too
I have worked on Machine Learning and I know the storage get orange (about 956MB/1024MB)

1 Like

I could barely install PyTorch on the free account so passing the storage limits in free is quite easy with frameworks,