Remix.run Logo
JollySharp0 8 hours ago

Containers are not Virtual Machines. 1GB cannot run a lot of server software.

If stuff is written in .NET, Java or JavaScript. Hosting a non-trivial web app can use several hundred megabytes of memory.

gnabgib 6 hours ago | parent [-]

Only Java qualifies under your arbitrary rules, and even then I imagine it's trying to catch up to .NET (after all.. blu-ray players execute Java).. which can run on embedded systems https://nanoframework.net/

JollySharp0 5 hours ago | parent [-]

I listed some popular languages that web applications I happened to run dockerised are using. They are not arbitrary.

If you run normal web applications they often take many hundreds of megabytes if they are built with some popular languages that I happened to list off the top of my head. That is a fact.

Comparing that to cut down frameworks with many limitations meant for embedded devices isn't a valid comparison.

gnabgib 4 hours ago | parent [-]

1GB is plenty for almost every case I've seen, 10-20x the need. Yes if you're running a repeated full OS underneath (hello VMs) then it'll waste more.

I run (regular) .NET (8) in <50mb, Javascript in <50mb, PHP in <50mb. C, Perl, Go in <20mb.

Unless you're talking about disk space.. runtimes take space.

JollySharp0 4 hours ago | parent [-]

> 1GB is plenty for almost every case I've seen, 10-20x the need

Couldn't have seen many then! Maybe you should look elsewhere.

> Yes if you're running a repeated full OS underneath (hello VMs) then it'll waste more.

Docker is not VMs. Other people have stated this.

> I run (regular) .NET (8) in <50mb, Javascript in <50mb, PHP in <50mb. C, Perl, Go in <20mb.

Good for you. I run web services that are heavier. The container has nothing to do with it.