What do I do about a machine that is running out of memory and crashing?Why is swap being used even though I...

Virginia employer terminated employee and wants signing bonus returned

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

What do you call someone who likes to pick fights?

Does an unused member variable take up memory?

What is Tony Stark injecting into himself in Iron Man 3?

PTIJ: Why does only a Shor Tam ask at the Seder, and not a Shor Mu'ad?

How do we create new idioms and use them in a novel?

Can I use a violin G string for D?

Source permutation

Is it safe to abruptly remove Arduino power?

Does "Until when" sound natural for native speakers?

How does Ehrenfest's theorem apply to the quantum harmonic oscillator?

What will happen if my luggage gets delayed?

Are all players supposed to be able to see each others' character sheets?

School performs periodic password audits. Is my password compromised?

Expressing logarithmic equations without logs

Minimizing with differential evolution

I reported the illegal activity of my boss to his boss. My boss found out. Now I am being punished. What should I do?

How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X

What is the generally accepted pronunciation of “topoi”?

Recommendation letter by significant other if you worked with them professionally?

Is it a Cyclops number? "Nobody" knows!

Help find my computational error for logarithms



What do I do about a machine that is running out of memory and crashing?


Why is swap being used even though I have plenty of free RAM?Lot's of swap is in use but ram has plenty of free spaceSwap partition not workingShould my swap size be zero or am I misunderstanding the output?Ubuntu freeze when low memoryNot sure my swap is being usedvm.swappiness does not apply to tmpfs, Ubuntu Server 16.04.5Wine 3.0 asking for more virtual free swapUbuntu 18.04 freezing when using multiple tabs on firefoxWhenever i do “heavy” suff, PC runs very slow & laggy. Is there a way to solve this by Partitioning?













0















My spouse is running Ubuntu 18.04 on a Thinkpad X1 that has been crashing a lot. Usually he's got a bunch of tabs open but nothing that should crash a relatively powerful laptop.



The machine freezes and the only solution is a power cycle because it is otherwise unresponsive.



I am used to being able to get to another TTY to troubleshoot with ctrl-alt-F3 but that doesn't seem to work on his machine.



One oddity, when I run top it reports zero swap:



KiB Swap: 0 total, 0 free, 0 used



That can't be right, but free confirms it:



amanda@Flatbush:~$ sudo free -h
total used free shared buff/cache available
Mem: 7.7G 5.4G 164M 1.5G 2.1G 516M
Swap: 0B 0B 0B


By contrast, my machine is a few years older than his and works fine. There, free shows:



amanda@mona:~$ sudo free -h
total used free shared buff/cache available
Mem: 7.7G 1.2G 5.1G 237M 1.3G 5.9G
Swap: 7.8G 0B 7.8G


The good machine has way more memory and way more available swap (though to be fair I just fired it up to compare and don't have anything running on it).



I suspect that the issue is connected to the differences in memory but I don't know how to go about fixing it. s










share|improve this question

























  • "Bunch of tabs open" smells like possibly running low on RAM, and the free output seems to also lean that direction. A Facebook tab, for example, can consume a staggering amount of resources.

    – user535733
    7 mins ago











  • Fair. Rewording the question because "why" isn't really what I want to know, what I want to know is how to fix it.

    – Amanda
    3 mins ago
















0















My spouse is running Ubuntu 18.04 on a Thinkpad X1 that has been crashing a lot. Usually he's got a bunch of tabs open but nothing that should crash a relatively powerful laptop.



The machine freezes and the only solution is a power cycle because it is otherwise unresponsive.



I am used to being able to get to another TTY to troubleshoot with ctrl-alt-F3 but that doesn't seem to work on his machine.



One oddity, when I run top it reports zero swap:



KiB Swap: 0 total, 0 free, 0 used



That can't be right, but free confirms it:



amanda@Flatbush:~$ sudo free -h
total used free shared buff/cache available
Mem: 7.7G 5.4G 164M 1.5G 2.1G 516M
Swap: 0B 0B 0B


By contrast, my machine is a few years older than his and works fine. There, free shows:



amanda@mona:~$ sudo free -h
total used free shared buff/cache available
Mem: 7.7G 1.2G 5.1G 237M 1.3G 5.9G
Swap: 7.8G 0B 7.8G


The good machine has way more memory and way more available swap (though to be fair I just fired it up to compare and don't have anything running on it).



I suspect that the issue is connected to the differences in memory but I don't know how to go about fixing it. s










share|improve this question

























  • "Bunch of tabs open" smells like possibly running low on RAM, and the free output seems to also lean that direction. A Facebook tab, for example, can consume a staggering amount of resources.

    – user535733
    7 mins ago











  • Fair. Rewording the question because "why" isn't really what I want to know, what I want to know is how to fix it.

    – Amanda
    3 mins ago














0












0








0








My spouse is running Ubuntu 18.04 on a Thinkpad X1 that has been crashing a lot. Usually he's got a bunch of tabs open but nothing that should crash a relatively powerful laptop.



The machine freezes and the only solution is a power cycle because it is otherwise unresponsive.



I am used to being able to get to another TTY to troubleshoot with ctrl-alt-F3 but that doesn't seem to work on his machine.



One oddity, when I run top it reports zero swap:



KiB Swap: 0 total, 0 free, 0 used



That can't be right, but free confirms it:



amanda@Flatbush:~$ sudo free -h
total used free shared buff/cache available
Mem: 7.7G 5.4G 164M 1.5G 2.1G 516M
Swap: 0B 0B 0B


By contrast, my machine is a few years older than his and works fine. There, free shows:



amanda@mona:~$ sudo free -h
total used free shared buff/cache available
Mem: 7.7G 1.2G 5.1G 237M 1.3G 5.9G
Swap: 7.8G 0B 7.8G


The good machine has way more memory and way more available swap (though to be fair I just fired it up to compare and don't have anything running on it).



I suspect that the issue is connected to the differences in memory but I don't know how to go about fixing it. s










share|improve this question
















My spouse is running Ubuntu 18.04 on a Thinkpad X1 that has been crashing a lot. Usually he's got a bunch of tabs open but nothing that should crash a relatively powerful laptop.



The machine freezes and the only solution is a power cycle because it is otherwise unresponsive.



I am used to being able to get to another TTY to troubleshoot with ctrl-alt-F3 but that doesn't seem to work on his machine.



One oddity, when I run top it reports zero swap:



KiB Swap: 0 total, 0 free, 0 used



That can't be right, but free confirms it:



amanda@Flatbush:~$ sudo free -h
total used free shared buff/cache available
Mem: 7.7G 5.4G 164M 1.5G 2.1G 516M
Swap: 0B 0B 0B


By contrast, my machine is a few years older than his and works fine. There, free shows:



amanda@mona:~$ sudo free -h
total used free shared buff/cache available
Mem: 7.7G 1.2G 5.1G 237M 1.3G 5.9G
Swap: 7.8G 0B 7.8G


The good machine has way more memory and way more available swap (though to be fair I just fired it up to compare and don't have anything running on it).



I suspect that the issue is connected to the differences in memory but I don't know how to go about fixing it. s







freeze swap






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 mins ago







Amanda

















asked 37 mins ago









AmandaAmanda

4,313104284




4,313104284













  • "Bunch of tabs open" smells like possibly running low on RAM, and the free output seems to also lean that direction. A Facebook tab, for example, can consume a staggering amount of resources.

    – user535733
    7 mins ago











  • Fair. Rewording the question because "why" isn't really what I want to know, what I want to know is how to fix it.

    – Amanda
    3 mins ago



















  • "Bunch of tabs open" smells like possibly running low on RAM, and the free output seems to also lean that direction. A Facebook tab, for example, can consume a staggering amount of resources.

    – user535733
    7 mins ago











  • Fair. Rewording the question because "why" isn't really what I want to know, what I want to know is how to fix it.

    – Amanda
    3 mins ago

















"Bunch of tabs open" smells like possibly running low on RAM, and the free output seems to also lean that direction. A Facebook tab, for example, can consume a staggering amount of resources.

– user535733
7 mins ago





"Bunch of tabs open" smells like possibly running low on RAM, and the free output seems to also lean that direction. A Facebook tab, for example, can consume a staggering amount of resources.

– user535733
7 mins ago













Fair. Rewording the question because "why" isn't really what I want to know, what I want to know is how to fix it.

– Amanda
3 mins ago





Fair. Rewording the question because "why" isn't really what I want to know, what I want to know is how to fix it.

– Amanda
3 mins ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124656%2fwhat-do-i-do-about-a-machine-that-is-running-out-of-memory-and-crashing%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124656%2fwhat-do-i-do-about-a-machine-that-is-running-out-of-memory-and-crashing%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...