What consumes more memory ram and cpu?

When I run the project in the browser the performance of my pc drops drastically. Both in the execution of the project and in the execution of the other programs, it even resembles one of those old tools 486.
My pc is a Quad Core 2.8, 4gb Ram, no video card.

Please add more detail to your post

Your post has been flagged since it is lacking detail, has already been asked or is easily answered using a search engine.

Please add more detail, for example:

Your post will be reviewed in 24 hours and if it has not improved it will be deleted.

You will, of course, be free to make a new post in that case.