Questions tagged [memory]

Memory refers to the SDRAM (a kind of RAM) found on the Raspberry Pi.

Filter by
Sorted by
Tagged with
7
votes
3answers
19k views

How to prevent Raspberry Pi memory allocation failure?

I have installed a Terraria server on my Raspberry Pi (Version B Revision 2) yesterday. I followed this tutorial on Reddit. I used the latest version of Raspbian provided by NOOBS: I just ...
3
votes
3answers
17k views

How to check what process is slowing down my RPi

I have a PHP scraper that is running on my RPi. I noticed that since I have installed some additional software to the RPi the scraper takes 3/4 times longer to finish it's task than before. I wonder ...
2
votes
1answer
809 views

Incorrect memory size

If I run free -h I see a total 121M listed and I have 16MB shared for video. The Raspberry Pi I'm using has a K4P2G324ED-AC1 chip and I expected to see something around 240M instead of 121M because ...
2
votes
2answers
340 views

Does my RPi uses video RAM for tunneling X over ssh?

I use my Pi in headless mode, and I like to use X over SSH occasionally to run graphics only apps like the Pi store, and a few of my programs. I'd like to increase my RAM by decreasing GPU RAM, in ...
1
vote
3answers
463 views

Memory Problem; I can make new files and install new software but can't download

I can make new files, folders and install new software but I can't download files from the internet (Using Iceweasel(Firefox) and Midori). When installing new software at some point it says something ...
3
votes
3answers
4k views

When does the OS kill an application?

I have an application which polls a bunch of servers every few minutes. To do this, it spawns one thread per server to poll (15 servers) and writes back the data to an object, however sometimes the ...
11
votes
7answers
45k views

Resize file system on OpenELEC

I was trying to perform an update and an error told me that I hadn't enough free space. So I connected to my Raspberry through SSH to ask for disk usage with: df -h And I obtained the following ...
5
votes
3answers
12k views

Required SD card capacity

I understand that Raspberry Pi boots from an SD card. What is the minimum amount of memory required by Raspberry Pi to run smoothly?
5
votes
2answers
10k views

How the usage of ZRam module in Raspberry Pi Kernel improves performance?

zRam increases performance by avoiding paging on disk and instead uses a compressed block device in RAM in which paging takes place until it is necessary to use the swap space on the hard disk drive ...
2
votes
3answers
4k views

Log says I can't allocate memory, but I have more than half of my memory free

Since the beginning of using my pi , I was getting this error, It's not distro related , I used `raspbmc and now I use Arch. Some peoples told me about memory fragmentation but I don't know much more. ...
2
votes
2answers
5k views

How is memory split by CMA?

The post at http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=19334&p=218282&hilit=cma#p217665 mentions that:- gpu_mem_512=316 cma_lwm=16 cma_hwm=32 In the above ARM has 96M always. ...
3
votes
1answer
767 views

Unable to enable unlock 512MB RAM of Model B

I want to set RAM to 384MB. I've tried several things to try and get the RAM above the 184MB shown below by running free -h total used free shared buffers cached ...
2
votes
2answers
5k views

How can I increase the size of the ram disk

In Debian Wheezy If I make a ram disk with mke2fs -m 0 /dev/ram0 mount /dev/ram0 /mnt/ramdisk I get a ram disk 3.9M in size. I could really do with 16M, is there a way of making the ram disk bigger?
1
vote
2answers
710 views

How can I change the frequency?

I would like to change the frequency of the RPI, how can I do that, I'm using low level programming. Also how can I get the used memory and free memory?
7
votes
1answer
8k views

how to know if my Raspberrypi's Ram size is 265MB or 512MB

I've just bought a new raspberry pi as a 512Mb Ram but this website is saying that if my chip contains 2G so it is 265 Ram which is my case my chip number is k4p2g324ed-agc1 , so if you are sure ...
14
votes
1answer
1k views

256 or 512 MB for a webserver

I'm planning to buy a Raspberry Pi, a colleague of mine has a 256 MB left. But I don't know if 256 MB of memory can for fill the things I want to run. I want to run an Apache web server (or some ...
9
votes
2answers
4k views

How do I set the memory split for 512MB model?

I have just received the 512MB model. However, there are no options for memory split. I'm running the latest and greatest 2012-09-18-wheezy-raspbian.img. See the video question (30 sec): http://www....
2
votes
1answer
3k views

Memory display on Raspberry Pi running raspbmc

After lying around few months, finally I setup my Pi with raspbmc. But after starting up and when I went to see Systeminfo, it's showing 122MB max memory. Did I receive model A, which is with a lower ...
0
votes
1answer
2k views

aMule and Deluge on Raspberry Pi

I'm already using my Pi as a media center, now I would also like to transform it into my download center. I've seen that both deluged and amule-daemon packages are available, but the question is, will ...
8
votes
2answers
2k views

Is it a good idea to mount /var in memory?

Re this answer: https://raspberrypi.stackexchange.com/a/867/339 It is suggested that /var be mounted in memory, so to avoid causing your root partition to fill accidentally. I've got a couple of ...
77
votes
3answers
146k views

What is the optimum split of main versus GPU memory?

I read that it's possible to allocate either 128MB, 64MB or 32MB to the Raspberry Pi's video memory. Given that my primary use case for this machine is educational: I will be running lightweight ...
11
votes
1answer
2k views

Is it safe to remove the xserver?

I do not use a digital monitor and no TV either with my Raspberry Pi. I would like to remove unnecessary packages to save disk space and memory consumption. I would like to preserve the possibility of ...
29
votes
2answers
21k views

How does memory-mapped I/O addressing work?

How does memory-mapped I/O addressing work? I'm trying to understand a sample supplied I2S: Anyone got it running?. Configuring Clocks: #define BCM2708_PERI_BASE 0x20000000 #define ...
14
votes
4answers
3k views

Is it possible to control a SRAM module via the GPIO pins?

I would like to attach a SRAM module to the RasPi. My idea is to store sensitive (encrypted) data on the SD card but keep the key on a SRAM module. It would have its own backup battery (or ...
130
votes
5answers
167k views

How to set up swap space?

Raspberry Pi has only 256 MB of RAM, so I would like to use swap space (either on SD card or attached USB storage). How do I set it up?

1 2
3