LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ran out of memory (https://www.linuxquestions.org/questions/linux-newbie-8/ran-out-of-memory-4175634083/)

rbt55 07-15-2018 11:56 AM

Ran out of memory
 
I have a convertible HP table (HP x360 - 11-ab011dx) which can be used as a laptop or tablet. There is 32GB internal memory and I have a 64GB SD card. I switched from Windows 10 to Linux Mint 18.2 Sonya, because everytime there was a Windows update, I didn't have enough memory. I have tried installing the Mint updates but I receive an error that I don't have enough memory although there is 7GB internal memory left. What can I do to increase the internal memory so that I can run the updates. Because I am new to Linux I don't want to mess up my tablet because it runs well with Linux and I'm glad to be able to dump Windows.

wpeckham 07-15-2018 12:20 PM

We may need some clarification here. I note that you do not quote any of the actual messages.
So you understand the difference between memory (ram), and storage?

I am not familiar with that device, so a hardware description might help. If you do not have that information to hand, I can search online for the information

rbt55 07-15-2018 01:09 PM

1 Attachment(s)
Quote:

Originally Posted by wpeckham (Post 5879457)
We may need some clarification here. I note that you do not quote any of the actual messages.
So you understand the difference between memory (ram), and storage?

I am not familiar with that device, so a hardware description might help. If you do not have that information to hand, I can search online for the information

E: linux-image-extra-4.13.0-43-generic: subprocess installed post-removal script returned error exit status 1

pan64 07-15-2018 01:13 PM

do you use virtual machine ?

rbt55 07-15-2018 01:21 PM

No, I'm not using a virtual machine. Here are the specs for this tablet...
Intel Celeron N2840 2.16 GHz Processor
2 GB DDR3L SDRAM
Windows 10
32 GB Solid-State Drive, No Optical Drive
11.6-Inch 1366x768 pixel LED-lit Touch Screen

If I have to, I'll format the hard drive and reinstall the distro.

pan64 07-15-2018 01:26 PM

so in your first post the internal memory actually means your SSD.
32 GB SSD should be enough, but probably you filled it up with something.
Can you post the output of:
fdisk -l
df -h

rbt55 07-15-2018 01:34 PM

1 Attachment(s)
Quote:

Originally Posted by wpeckham (Post 5879457)
We may need some clarification here. I note that you do not quote any of the actual messages.
So you understand the difference between memory (ram), and storage?

I am not familiar with that device, so a hardware description might help. If you do not have that information to hand, I can search online for the information

Quote:

Originally Posted by pan64 (Post 5879491)
so in your first post the internal memory actually means your SSD.
32 GB SSD should be enough, but probably you filled it up with something.
Can you post the output of:
fdisk -l
df -h

OK. Sorry. The internal memory (SSD) is 32GB and SD card is 64GB I have attached a screen shot of the requested info,

I'm sorry I don't understand my computer and the terminology. Thank you for trying to help. You can close this post out. I'll figure something out.

soveda 07-15-2018 04:30 PM

Can you redo the commands with sudo at the start, the output as standard user doesn't give much helpful information.

BW-userx 07-15-2018 04:40 PM

you got 64 to work with, most is your partition, move some over to your system side to give it more room to grow. it says you got 43 G to play with. on that card, you can subdivide your system and give some to the system using your 43 g and fstab

AwesomeMachine 07-15-2018 05:05 PM

If the errors with update actually use the word 'memory', then it refers to ram memory, not disk space. Drive space, or storage space is different than memory, even though by some stretch of the imagination they are both memory of sorts: long term and short term.

I can't imagine on a default install that 32GB storage is not enough. But maybe since /boot is full it can't install a new kernel during upgrade. But that doesn't account for Windows failing update.

scasey 07-15-2018 05:13 PM

Quote:

Originally Posted by rbt55 (Post 5879488)
No, I'm not using a virtual machine. Here are the specs for this tablet...
Intel Celeron N2840 2.16 GHz Processor
2 GB DDR3L SDRAM
Windows 10
32 GB Solid-State Drive, No Optical Drive
11.6-Inch 1366x768 pixel LED-lit Touch Screen

What is the exact error you get from the Mint upgrade attempt?
(And why do you say Windows 10 here...did you not replace Windows with Mint?)

According to the above, the tablet has but 2GB of "internal memory"...

syg00 07-15-2018 07:14 PM

One would have to think /boot is the problem - there is plenty of room in the root. Mint has a history of not cleaning out old kernels. Run these commands and post the results.
Code:

lsblk -f
sudo parted /dev/mmcblk1 "print free"
ls /boot


jefro 07-16-2018 01:19 PM

Until you fix the problem you may be able to install one or a few of the updates instead of a lot of them at once.

Can't hurt to put a usb flash drive in and attach it as a swap file/partition even if just for this install time.

rbt55 07-16-2018 06:43 PM

Problem Solved

hydrurga 07-16-2018 06:45 PM

Quote:

Originally Posted by rbt55 (Post 5879957)
Problem Solved

How? It will help others in the future if you describe how you solved it.


All times are GMT -5. The time now is 10:52 AM.