Tagged Questions

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

learn more… | top users | synonyms

1
vote
2answers
39 views

shell creation report boost::interprocess::bad_alloc error

Always after running for a while, process creation reports an error that seems link to a memory allocation error. I says seems because the process is forked and works. For instance forking a shell ...
2
votes
0answers
26 views

Usage of graphics core for headless XRDP server

I run my Pi as a headless server, running (among others) XRDP. My question is this: does XRDP use the video core and RAM? If not what is the lowest possible memory split? Thanks in advance
0
votes
0answers
32 views

mono-service keeps reserving memory untill raspberry is out of mem

So I have a background service written in C# which connects to a RFID-reader and reads out all the tags he sees. After that the service will place all tags in a database running on the Raspberry Pi as ...
0
votes
1answer
181 views

Banana Pi memory bus clock speed [closed]

I hope this is not too off-topic but I think you are the people that may most likely got their hand on a Banana Pi board and can answer my question. What is the memory clock speed of the DDR3 RAM ...
0
votes
1answer
75 views

Why is there a difference in USB HDD speed in my two Raspberry Pis?

Summary USB drives connected to the rev2 running Raspbmc read/write twice as quickly as the rev1 running Raspbian. Why is there a difference in speed? Testing I tested the same external USB hard ...
0
votes
1answer
67 views

How to copy data from USB to RAM

I am trying to quickly download images from a USB digital camera to a hard drive disk attached by USB to my raspberry pi. I want to minimize the time the camera needs to be connected to the pi during ...
0
votes
0answers
25 views

What would be the best memory split for running Sonic-Pi?

I have a 512MB Pi running Sonic-Pi and it's pretty neat, except for the fact that if I have very much of anything running, it lags out dreadfully. I noticed this especially when I was trying to play a ...
0
votes
1answer
59 views

Why does “free -h” show less total memory than assigned by splitting?

I have a static memory splitting (configured in config file and confirmed by vcgencmd) of arm=496M gpu=16M But when I run free -h I get total used free shared ...
4
votes
0answers
182 views

How to achieve gpu_mem=8?

I see some people claiming (see links) they have a memory splitting of gpu_mem=8, but I always thought 16/496 is the minimum split? Here is an answer on this very page: ...
2
votes
2answers
457 views

How to get remaining Memory in SD Card?

I have 16GB Sd card where I installed Rasbian using Win32 Disk Imager. After burning the image in windows OS it shows only around 40+ MB of free Space, Since Rasbian is image is around 2 GB where is ...
0
votes
1answer
116 views

Unlock 512 MB Ram Model B

I want to unlock the 512 MB RAM on my Raspberry PI. I have RASPMBC installed and followed http://hubcitylabs.org/unlocking-your-new-raspberry-pis-512mb-of-memory/ But it isnt working, I get error ...
1
vote
1answer
100 views

Real-Time Computaion! Processing Speed Problem!

I am pretty new to the c++ and raspberry pi. I am trying to run a real time sensor motor control with the help of Raspberry pi, using cpp. I am sniffing the sensor data through Ethernet and sending ...
2
votes
1answer
52 views

Raspberry pi memory

When you use a Raspberry Pi, the OS runs off of an SD card. Is anything being saved on the actual raspberry pi hardware when you remove the card? Said differently, say I create a password on a my RP ...
1
vote
2answers
293 views

What is the most optimum memory split for streaming pi's as security monitors which you will only ssh into?

I have a few model A's and model B's. I've also read about a few options that allow you to configure an arbitrary split apart from the 16, 32, 64, 128 (and 256 for the B). Any insight would be ...
4
votes
2answers
312 views

Set RAM split based on HDMI status on boot

For the most part, I run my Raspberry Pi headless (which requires very little VRAM). However, I occasionally plug in a monitor (usually after I mess up my SSH configuration). Is there a way to have ...
2
votes
2answers
3k views

Is it possible to install a larger RAM chip on the Raspberry Pi?

Can I upgrade the Raspbery Pi's RAM from 512 MB to 1 GB or 2 GB? I can't build a cpp-netlib in GCC 4.6 or 4.8 because the build consumes all 512 MB. I realize I can cross-compile, but I'm wondering ...
0
votes
0answers
253 views

Bus error with long running “cp” command

I'm copying about 800Gb of data between a samba share and a local usb attached ext4 hard drive. I'm about halfway through, and I've noticed that after a couple of hours of copying any command that I ...
4
votes
3answers
1k 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 ...
1
vote
3answers
2k 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
200 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
230 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
156 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 ...
1
vote
2answers
463 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 ...
5
votes
4answers
9k 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 ...
2
votes
3answers
5k 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?
4
votes
2answers
2k views

Use of ZRam module in Raspberry Pi Kernel

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
979 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
965 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 ...
3
votes
1answer
481 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
2k 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 ...
0
votes
2answers
194 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?
3
votes
1answer
3k 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 ...
9
votes
1answer
868 views

256 or 512 MB for a webserver

I'm planning to buy a Raspberry Pi, a college 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 an other ...
7
votes
2answers
4k views

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

I have just received supposingly 512MB model however there are no options for memory split... Running the latest greatest 2012-09-18-wheezy-raspbian.img See the video question (30 sec): ...
1
vote
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 ...
0
votes
1answer
1k 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 ...
6
votes
2answers
885 views

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

Re this answer: http://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 ...
49
votes
2answers
49k 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 ...
8
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 ...
22
votes
1answer
6k 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 ...
9
votes
4answers
645 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 ...
40
votes
4answers
29k 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?