Ubuntu :: System Freezes On Running Pearl Program - Out Of Memory

Sep 1, 2011

I am trying to run a simple perl program that requires getting stock price data from yahoo for just 1 ticker symbol, and it was running fine till this morning, wherein it froze and displayed the message: Out of memory!

I cleared my cache by running the following:

Code:
$sync
$sudo echo 1 |sudo tee /proc/sys/vm/drop_caches
$sudo echo 2 |sudo tee /proc/sys/vm/drop_caches
$sudo echo 3 |sudo tee /proc/sys/vm/drop_caches
but it hasn't helped.

Even Firefox has been freezing, so I basically cannot do anything on my computer.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Running Aplicattions Written In Pearl

Dec 31, 2010

I'm trying to edit mobi files. To do so, I looked for a mobi2html program, which I found here:URL...I followed all the instructions mentioned in the READ_ME file that comes with the zipped source. I strongly believe, as no error messages appeared during the installation, everything went according to plan.My question is simple: having completed all the installation procedures, what should I do next? My general procedure is to look up for the new program name in the "applications" tab, but I know that won't always do the trick.

View 2 Replies View Related

Ubuntu :: Memory Maxed Out And System Freezes Up?

Mar 7, 2011

Is there something similar to the windows TSR thing in Linux? (terminate & stay resident)

The reason I ask is that after replacing my HD and reinstalling Maverick I've noticed the PC freezing up afew times. It seems that memory gets used up and then doesnt free up after the application is closed. The last couple of times this happened today I was doing

1. Copying a number of photos from my flash drive to the HD

2. Burnt a disk with Brasero.

After doing this it froze and I had to crash the system and reboot. I don't remeber this happening before.

Apart from this memory problem it's working OK I think. My system specs are below

Code:
mbdb@M2000:~$ sudo lshw
m2000
description: Notebook
product: Presario M2000 (EK823EA#ABU)
vendor: Hewlett-Packard

[Code].....

View 9 Replies View Related

Programming :: Possible To Know The Amount Of Memory Used By A Program Before Running It?

Mar 3, 2009

I would like to know if there is a linux command to verify the amount of memory used by a program. The programs I am using were compiled with gfortran.

View 2 Replies View Related

Debian Programming :: Memory Usage When Running Java Program

Jun 28, 2013

I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.

However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.

I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.

View 2 Replies View Related

Ubuntu :: Make A Program Crash If System Memory Usage Gets Too High?

Jul 19, 2010

Basically I have a machine with 16GB of RAM and have just discovered that using all of it can crash the whole system over one process. How could I run a process on the system in such a way that if more than 90% of system memory is used, the process immediately crashes?

View 3 Replies View Related

OpenSUSE :: Created A Tab To Look That The Physical Memory In The System? Monitor Program?

May 11, 2010

I have a system with 1 GB RAM. I'm running KDE 4. I created a tab to look that the Physical Memory in the System Monitor program, which I assume appears to look at the same stats that "top" looks at. In that Physical Memory tab I have 3 tables: Used Memory, Free Memory, and Application Memory.The Used Memory table shows that the system is using .94 of .98 GiBytes. The Free Memory table shows that the system has .5 GiBytes of RAM free.

However the Application Memory shows that only 339 M-Bytes of RAM is being used.Note that "top" shows the same info.So where is the other .6 GiBytes of RAM that the Used Memory table shows as being used?If I look at the process table which is supposed to encompass all of the processes running, including the ones for the OS, then it appears to add up to the 339 M-Bytes being used in the Application Memory table. Is the rest of the memory being held in reserve by the OS to be used as needed? If so, then why when another application is opened the Free Memory goes down instead of staying constant?I also noticed this memory "black hole" when I was running 11.0 on a system with 4 GB of RAM. The OS appeared to "take up" a large chunk of memory that was NOT being used by any applications and making it "disappear" - meaning that the applications were using about 1.3 GiBytes of RAM and Free Memory was showing only .7 GiBytes instead of the over 2 GB of RAM that should be free.

View 2 Replies View Related

Programming :: Quick Measurement Of Free System Memory From Within C Program

Jul 21, 2010

I need to monitor the amount of free physical memory on Linux from within a large C program. The sampling will occur very frequently, so the measurement cannot be performance intensive. The fact that Linux uses much of the theoretically free memory for cache and buffers means that just measuring the free pages is not sufficient. Using free + cache + buffers gives an overestimate as not all cache/buffers can be freed, but I could get a rough idea of how much generally can't and subtract that from the answer.

Possible options that I've come across so far are: Parsing /proc/meminfo - but that involves reading from file which is slow. Extracting the free, cache and buffers values from the output of the Free command - but is there a quick way to do this? Parsing the /proc/freemem file produced by the API here - but this is again reading from file. Is there a way to get that output directly? Speed is an extremely high priority, and the answer it must accurately represent the amount of memory that my program could expand into (to within a few Mb).

View 1 Replies View Related

General :: Find Memory Usage Of Shared Library Running In System?

Nov 30, 2010

I need to find the memory usage of a shared library loaded in Linux environment.

I need this information for deciding on whether to make the library part in to application or a seperate application itself.

View 3 Replies View Related

Debian :: New Install Running Slow - System Freezes Every 30 Seconds Or So

Sep 26, 2015

So i just finally installed Debian Jessie OS, replacing Ubuntu. But now it is running extremely slow. It's not internet connection. The internet speed is running fine (Videos load quickly), but it's like the system freezes every 30 seconds or so. A video can be fully loaded but still stops and starts constantly. Just browsing the internet, or non-internet things do the same also. I switched back to Ubuntu to see if it was different on there, but Ubuntu is running fine.

View 4 Replies View Related

Ubuntu :: Switch To Running Program That's Not Showing Up In System Tray?

Jan 3, 2011

I'm running Ubuntu 10.10 and I'm running Skype 2.1 (Beta). Whenever I "x" out of the Skype program, from what I can tell it's minimizing the Skype program and not actually terminating the thread (just as it does in Windows), however when I "x" out of Skype the icon is not showing up in the system tray (but it does in Windows). So one would think that it's not running, however if I try to re-launch Skype I get an error message stating: Another Skype Instance May Exist.

I confirm this by going to System > Administration > System Monitor and sure enough, Skype is running. So if I "x" out of the program, how do I switch back to it because it's not showing up in the system tray? One last thing : Alt+Tab does not work. It will list the other programs running, but not Skype, despite the fact that it is running.

View 3 Replies View Related

Ubuntu :: Random Freezes After New Memory Install?

May 19, 2011

I have an HP dx5150 with Ubuntu 11.04. I recently added 2 new memory chips (total 4) with the same specifications as the originals. The memory is recognized by the BIOS and Memtest returns no errors. The computer boots normally and functions normally for an hour or so, and then freezes. When it freezes it does not accept any input and the screen gets displays a bunch of small green or purple lines. Here is the output from lshw:

Code:
description: Desktop Computer
product: HP dx5150 SFF (EW249UC#ABA)
vendor: Hewlett-Packard
serial: XXXXXXXXXX

[Code]....

View 5 Replies View Related

Ubuntu :: File Copying Freezes - Flash Memory Card

Jul 3, 2010

Using 10.04 Netbook version. I am finding on my Asus EEE 901 that sometimes file copy just seems to freeze - seems to happen usually when copying from the built-in SSD memory to the plug-in SDHC memory card. I have tried reformatting the card and using a different card. It is not just this computer since I found the same thing on my last Asus which was the 900 model.

I am told that there are issues with Nautilus. Is there anything which can be done to improve this or is there anything else which I can install besides Nautilus? I am assuming that there is some issue related to Ubuntu's handling of SDHC memory cards.

It is becoming annoying because it seems to work sometimes and then not. When it happens only option seems to be to turn the netbook off and on again. Even if the file copy is cancelled the card seems to be unaccesible until rebooted.

Also after a certain point it seems that when I try and copy new files to the card, they appear to copy ok but obviously are corrupt in some way - when you try to play videos for instance they are faulty.

View 3 Replies View Related

General :: Why Does Running A Program In Bash Work, When Running It In The Menu Doesn't?

Jul 26, 2010

I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....

I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).

View 1 Replies View Related

Ubuntu Networking :: Use A Blackberry Pearl As A Modem Using 9.10?

Feb 22, 2010

If anyone knows how to use the blackberry pearl as a modem on ubuntu desktop latest version.

View 3 Replies View Related

Ubuntu :: Load Music Onto Blackberry Pearl?

Jul 5, 2010

i just recently got a new blackberry pearl 8230 smartphone thingy and iv been trying to find out how to load music onto it and i cant seem to do it, the disk it came with is for windows and i tried running the program through wine and it wouldn't work, so i was wondering how would i go about obtaining the programs to do this if there are any out there?

View 2 Replies View Related

Ubuntu :: How To Allocate Memory To Program?

Nov 24, 2010

I am running BWA (burrow-wheeler alignment) and, keep getting an error that there isn't enough memory allocated. How do I change the memory allocation? I'm working on a good quality desktop only a little over a year old, so having the memory shouldn't be the problem.

View 9 Replies View Related

Ubuntu :: Record Memory Usage Of Program?

Jan 17, 2010

Is there a way I can start a program and then record a log of how much memory it's using at a specific interval until the program ends?

I've tried writing a shell script but get the error: ./apps/mem-test.sh: line 4: [: too many arguments

Here's the non-working script:

Code:
$HOME/apps/ImageMagick/bin/convert -limit memory 64 -limit map 128 $HOME/SSI/davidkennardphotography/Img-Orig/95-Pole-Bank.jpg -set option:filter:filter Lanczos -set option:filter:blur 0.8 -resize 1024x720 $HOME/resizedImage.jpg &
GOODY="ps -p $! -o pid,%cpu,rss,cmd | grep convert >>test.txt"

[Code]....

View 3 Replies View Related

Ubuntu :: Program Freezes - Anyway To Restart?

Sep 1, 2011

Any way using terminal or another method to restart a frozen or crashed program in Ubuntu?

View 4 Replies View Related

Ubuntu :: Program Convert Consumes Most Of The Computer's Memory

Oct 5, 2010

I am using ubuntu 10.10 with gnome desktop on a desktop computer (pentium 4 cpu with 1 Gb memory), and when I use OpenOffice Impress, convert opens up and uses most of my cpu power. Even worse, after closing OpenOffice and all instances of nautilus, convert stays in memory and keeps using most of my cpu power (between 30 and 75 %, acccording to system monitor.Is it normal ? How could I set up my computer to limit convert cpu usage, and to unload from memory after being used.

View 3 Replies View Related

Ubuntu :: Inbuilt Logging System - Ran And Installation - Program Opened Automatically - Can't Find Program Executable

Feb 23, 2011

I was wondering whether there is an inbuilt logging system in UNIX?

I ran and installation and the program opened up automatically but I can't find the program executable.

If I could find a log then I could locate this file.

View 9 Replies View Related

General :: Is There System Admin Tool For RHEL On Montioring And Logging System Memory

Apr 20, 2011

Is there a system admin tool for RHEL on montioring and logging system memory used and released that can dump to a log file?I'm having an issue with memory not being released when an application is closed. I need to have a tool monitor and log so I can troubleshoot to verify that it's an application not the OS.

View 2 Replies View Related

General :: Memory Corruption Tool In A Program?

Oct 14, 2010

Kindly let me know the Linux tool to find out the memory corruption in a program. The tool could be built for PPC as well.

View 6 Replies View Related

General :: Program To View Data In Memory RAM?

Aug 5, 2011

I'm running a java program and to debug the program instead of using a debugger I would like to look to the heap and to the bytes in the memory of the process. I was hoping that the pointers would give me a snapshot of a moment of the application. It exists a program that allow us to look to the details of a process and to the memory ram?

View 2 Replies View Related

Programming :: Allocate Memory To A Program Before Execution?

Jan 3, 2011

I went to an interview last week and there was this guy who asked a simple question that i have been trying to solve for a couple of days. I tried google but i just cant get the search keywords right. The result were just useless. Well, the question is : "How can we allocate a limited memory to a process before we start its execution" well, the question is related to an X11 system so may be some flags must be set to limit its memory.

View 9 Replies View Related

Programming :: Manage Memory To Speed Up Program?

Nov 18, 2008

I wrote a program in lcc in windows and I have to write it in gcc in unix. In lcc there was an option to use more memory than the default for the stack. The following code is working in lcc but in gcc it gives segmentation fault:

#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <time.h>
int main()
{

View 11 Replies View Related

Ubuntu :: When Try To Download Software On Playonlinux The Program Just Freezes

Dec 3, 2010

When I try to download software on playonlinux the program just freezes, and the screen glazes over. The program I am trying to download is internet explorer 7. I have wine. Do I have to have the files already on the computer, or is playonlinux supposed to download them.

View 2 Replies View Related

Debian Multimedia :: Resizing Mate System Monitor Freezes System

Apr 4, 2016

Happens on Jessie AMD64 with mate, I can't go to a tty to kill mate system monitor, mouse stop working, keyboard stop working. I tried changing the theme, and now it freeze opening mate system monitor.

View 0 Replies View Related

General :: Find Total Memory Usage Of A Program?

Sep 22, 2010

I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs?

View 3 Replies View Related

Software :: Program - Information On Drives Space Memory

Mar 5, 2010

A few years back when I was running Linux most of the time I used a program that gave me information on my machine.

It had different themes and such, and it would usually rest vertically along the side of the desktop. It would tell one information on drives, space, memory, I think you could even have it tell you the weather if you entered geographical information.

I know I'm being a bit vague but that's all I can remember, does anyone recall this program? It was pretty popular back then...so I wonder if it's still under development.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved