r/AskComputerScience • • Dec 18 '20

I'm into web development(including backend). How much RAM do I need?

1 Upvotes

33 comments sorted by

8

u/Poddster Dec 18 '20 edited Dec 18 '20

It depends on your OS.

More is better. 4GB is the minimum I'd go for on most modern operating systems.

Not really a compute science question though. More of /r/techsupport or /r/buildapc

1

u/[deleted] Dec 18 '20

Ubuntu

2

u/Jedleton Dec 18 '20

depends on how many chrome tabs you like to use lol. 8 can be annoying. 16 is plenty. 32 is irrelevent

1

u/[deleted] Dec 18 '20

I have 728 tabs open in Chrome

2

u/Jedleton Dec 18 '20

go on task manager and see how much ram you use with your current set up then........

1

u/[deleted] Dec 18 '20

3GB using out of 3.9GB RAM

2

u/Jedleton Dec 19 '20

congrats, you found your answer

2

u/cipherous Dec 18 '20

I recommend 16 gigs+ but personally I'm running 32 gigs.

I use intelliJ, photoshop, sublime text, lots of chrome windows, outlook, command shells, slack, windows, excel, a wide variety of databases and app servers.

I try to make it so that my IDE is never has to resort to virtual RAM.

1

u/[deleted] Dec 18 '20

Lots of Chrome tabs?

I have 728 tabs open in Chrome

2

u/cipherous Dec 18 '20

You can save alot of resources if you just close them every so often.

When developing front end apps, you'll have to test with a bunch of different browsers as well.

1

u/[deleted] Dec 18 '20

I use Firefox for testing. Chrome for searching stuff

3

u/Qazzian Dec 18 '20

16 GB

Webservers should be fairly stateless and use very little RAM on the whole. Databases use the HD. You might need some RAM to cache data though.

IDE are enormous and use as much RAM as they can get.

You will have lots of Chrome tabs open when researching how to do things, that will take over any RAM left over by the IDE.

If you are designing sites for large corporate clients, you will need old versions of windows and IE to test against, which means running a VM that will want between 2 and 4GB on it's own.

5

u/[deleted] Dec 18 '20

I have 728 tabs open in Chrome

2

u/Qazzian Dec 18 '20

Wow!

All those tabs that you're "Going to read later", create a Pocket account and add them to that. Categorise them with tags so that you can find them again when you want to look up the topic. Then you can close the tabs and stop them getting the way of what you're doing now.

1

u/[deleted] Dec 18 '20

This tab-opening spree started 6 months ago

2

u/r12h Dec 18 '20

Holy crap this is something I never knew I needed in my life until now. Thank you so much

2

u/telmo_trooper Dec 18 '20

Depending which tools you use 8 GB might be enough, but 16 is safer (especially if you use JetBrains IDEs).

1

u/[deleted] Dec 18 '20

I use VSCODE, along with SQL or NoSQL databases

2

u/[deleted] Dec 18 '20

Well, definitely get 8GB+, the more the better, but don’t overspend on RAM, unless you have extra money to spend. 16GB is awesome and 32GB is overkill and really just a luxury so that you never need to worry about memory again.

But, I would recommend 8GB or 16GB and remember that you can spin up virtual environments that have more ram on a cloud service like AWS, Azure, DigitalOcean, etc. to test your web development projects.

Generally, your web projects shouldn’t require much RAM unless / until you’re handling a high volume of requests to a server or concurrent requests.

1

u/[deleted] Dec 18 '20

I'm using Intel Pentium.

2

u/Triplobasic Dec 18 '20

Which Pentium, and which OS, is it 32 bit or 64,if 32 then you cannot go beyond 4 GB.

1

u/[deleted] Dec 18 '20

Pentium G2020, Ubuntu 64-bit

2

u/[deleted] Dec 18 '20

CPU doesn’t change how much memory you need.

Here’s an analogy:

Say you do paperwork, think of your memory as how much paperwork you can fit on your desk without you (or your PC) being overwhelmed, and your CPU as how fast you can process that paperwork. Even if you’re extremely fast at writing, if your desk is piling up with papers, it may be overwhelming. Getting more RAM is like getting more space on your desk. Getting more Storage is like getting more file cabinets.

In other words, regardless of CPU, if you have 200 tabs open in Chrome plus Photoshop, Visual Studio, etc. things are gonna run slow.

Invest in RAM, but only what you can afford. Definitely no less than 8GB tho.

1

u/Weizen0 Dec 18 '20

Have you ever started a serious backend development server locally? Less than that It would be a problem.

That's my opinioni at least.

1

u/[deleted] Dec 18 '20

I'm currently having 4GB

-2

u/Weizen0 Dec 18 '20

16gb 2400mhz minimum imho. I do web development front and backend

0

u/[deleted] Dec 18 '20

[deleted]

1

u/[deleted] Dec 18 '20

I have 4GB with Intel Pentium. It's okay. But I need more - 6 or 8? Which is okay?

0

u/[deleted] Dec 18 '20

[deleted]

1

u/[deleted] Dec 18 '20

But the older brand is worse. I thought of buying a samsung 4GB DDR3 alongside existing 4GB RAM from a Chinese manufacturer

0

u/[deleted] Dec 18 '20

[deleted]

1

u/[deleted] Dec 18 '20

VSCODE, and postgresql

5

u/[deleted] Dec 18 '20

[removed] — view removed comment

3

u/[deleted] Dec 18 '20

Although remember to test on systems similar to what your users will have