What will happen if I increase my laptop’s RAM?

Hi. I have a laptop hp G5040ea. This laptop had 1 GB ram (512+512) in the beginning. I removed the one and replaced it with a 2GB ram. So, now it has 2,5 GB. My question is what will happen if I replace the second ram with another 2GB ram, so I have 4 GB. Is there any chance I burn it?
Or it just won't work. In the instructions it says that it can have only 2GB memory but I increased it to 2,5 so far and it seems to work fine. I would be interested in your opinions.
Thanks.
