r/ProgrammerHumor • • Aug 08 '16

JQuery Does All Things!

https://i.reddituploads.com/b79bb2d6e2f14e65b769686647cc4782?fit=max&h=1536&w=1536&s=ed6be616a7a0467c49330eda9253811e
3.0k Upvotes

207 comments sorted by

View all comments

Show parent comments

8

u/Polantaris Aug 08 '16

To be fair, 8GB is pretty low for a high performance machine like XPS laptops are supposed to be. You pay a lot of money for an XPS, it should have more than 8GB of RAM.

I've never seen Chrome go above 300MB of RAM usage unless I'm doing some seriously idiotic shit, though, so it's not really a valid complaint. Although I could see NodeJS going high depending on what they're doing.

Still, I think it's more that the machine should have more RAM when you're paying that much money on it, but they couldn't think of a better combination of applications to justify it.

2

u/[deleted] Aug 09 '16

There's a trend in some circles toward increasingly client sided applications. Such that websites essentially just an api and the site is Web packed to run on the client. I think zen desk is mostly ember but I know it is/was very memory intensive. My work flow revolved around browser tabs vs their tabs. I had a bad time.

4

u/IggyZ Aug 09 '16

For pretty good reason. Outsourcing nonsensitive data to the client is GREAT if you can make it work, especially since data is faster and cheaper than ever.

That said, lots of places have taken it way too far, and don't adjust for mobile...

1

u/Polantaris Aug 09 '16

My current workflow is AngularJS 1.x with a WebAPI interface to access server data and perform validation (and whatever else needs to be done server side). Still don't get massive RAM usage. No where near enough that I would consider even 4GB not enough to handle it.

The only reason I can imagine that you'd be getting tons of RAM usage while doing client side applications is if you have your web service return ALL the data available, which of course is not scale-able as your server gets more and more data, and is poor optimization on the client side.

1

u/[deleted] Aug 09 '16

It's also possible that what is it, v8? Isn't properly optimized for Linux platforms or visa versa. I just know that on 1204 I think I was on, zen desk killed my box

1

u/ilawon Aug 09 '16

Are you looking at the main process only?

http://imgur.com/a/f1UvO

  • One incognito tab playing a flash stream in a website with a bit javascript ads and crap

  • google hangouts client