TRENDING NEWS

POPULAR NEWS

Ran Out Of Memory Exiting .

What does out of memory at line 12 mean?

I'm guessing this is Java???

If so, line 12 should hold a "new" call (i.e. new String(1)).

This must be 1 of (about) 3 things:

(1 and 2 are essentially the same):

1. You have a recursive call that is creating A LOT of memory usage (it would have to, otherwise you would get stack overflow before out of memory).

2. You have a large loop that (again) is creating lots of memory...perhaps the loop isn't exiting properly and you are (bad practice) creating lots of new objects in the body of the loop.

3. You are trying to create a HUGE structure, say an array of 1 billion ints (that would take about 4GB of memory).

For instance.

while(true){
String s = "hello";
}

This may or may not create an OutOfMemory exception (if garbage collection is working properly it actually shouldn't).

Edit:

Here's a loop that should definitely create out of memory exception (in Java):

ArrayList intArr = new ArrayList();
int i = 0;

while(i >= 0){
intArr.add(new Integer(i));
}

(this is the same as while(true) since it's initially true and you don't modify i, it will remain true always).

My laptop runs on an Intel i7, 4G memory, and a SSD. Will Windows 10 slow its performance?

What the hell is wrong with you people? Do you have any idea how powerful an Intel Core i7 is? You can’t slow down a PC that powerful under normal usage. The only problem/bottleneck here is your RAM.4 gigs of RAM is not a good fit for such a powerful processor. But, to be honest, I’ve been using Windows 10 for a while with Chrome as my main browser and I rarely ever use more than 3.8 gigs of RAM. (I’ve got 8).At this moment, I only have Chrome open with 4 tabs and a few applications running on the background. 3 gigs of RAM are occupied just with that. So, don’t expect to do any heavy multitasking.Conclusion: Add 4 gigs of RAM and you’ll have nothing to fear. At this point though, you’ll be restricted to running only basic applications because you don’t have enough RAM and you’ll be risking getting some big slowdowns in case that you actually ran out of RAM.Just add a bit more RAM if possible and you’ll be good to go.

Is my laptop worth fixing or is it totaled?

Your E1505 is a beautiful laptop, I actually have one myself, its around 5 years old and still going extremely strong. The slow issues may mainly be various problems:

1. Check if your newly installed hard drive is completely compatible with the old E1505. As far as I know, the old SATA drive which comes with the laptop is directly plug in play, which shouldn't give you any issues. Check if your BIOS settings are up to date, as it is running on new hardware. Be very careful while updating your BIOS though, as a mistake may permanently damage your computer.

2. If it's not a hardware issue, it might be that your new hard drive is fragmented (even though, sounds quite unlikely according to your accounts) Try de-fragmenting every week or so, just to keep your drive spinning at optimum state, even if there are absolutely no problems.

3. Check if all your drivers are up to date and installed correctly. I used to have an old desktop which ran on a Nvidia 7600GT graphics card, and every time reformatted my drive, my graphics would be extremely laggy without the drivers. For you, try updating your chipset driver, as it may help you run at higher performances. If any drivers are bothering you (such as your trackpad driver), reinstall them. It usually helps.

4. If all fails, go get yourself an external hard drive, back all your data up, and give your system a full reinstall. It usually solves the problem, well for me at least. Just know what drivers you'll need to install after the full reinstallation. That's usually the easy part, just do some Google searches and you'll nearly almost always find what you need.

5. If it still gives you problems, well, I haven't got a single clue what to do then. You can always get a nice netbook; you'd be surprise how nicely they run, especially with any Linux distro on it. Or a very old notebook, like a IBM T21. Just for the funs of it.

All the procedures which I recommended are all available on-line, just do some searches.

TRENDING NEWS