Questions tagged [memory]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
65 views

Result of a C++ bit shifting operation

This is related to a previous post, viz., C++ cout output on RPi 3B This code snippet, #define GPIO_SET *(gpio.addr + 7) struct bcm2835_peripheral { unsigned long addr_p; int mem_fd; ...
2
votes
1answer
808 views

C++ cout output on RPi 3B

I have these lines in a C++ program on a RPi 3B: struct bcm2835_peripheral { unsigned long addr_p; int mem_fd; void *map; volatile unsigned int *addr; }; struct bcm2835_peripheral ...
-1
votes
1answer
855 views

Transferring 16gb microSD to 64gb

I made a backup of the 16gb microSD card (installed with NOOBS) for a Raspberry Pi 3 and saved it to my Mac using: sudo dd if=/dev/disk2 of=~/Desktop/raspberrypi.dmg Then, I took a 64gb microSD card,...
12
votes
3answers
10k views

Raspberry Pi 3 has less than 1GB memory available at OS level

I don't know if it is a critical issue or not. But, I need to get rid of the question marks in my mind. I recently purchased a Raspberry Pi 3 board and while I was playing with it, I realized that ...
1
vote
1answer
2k views

regarding how to measure memory usage on raspberry pi for a specific program [closed]

I am beginner and I am looking for some help for measuring how much memory a specific program is taking to complete its execution? Is there any article or built in functions I need to start with.
1
vote
1answer
1k views

EEPROM Raspberry pi HAT read

I'm currently designing a Raspberry pi HAT. A HAT need to have an eeprom memory on it with several information. This memory is read at boot time of the Raspberry pi. My question is the following: ...
2
votes
1answer
82 views

Are Rpi1B 256MB / Rpi1B512 interchangeable using *the same* SD/card (Raspbian)?

My web"nozing" told me that the two (the Rpi1B 256 and 512) variants are virtually the same hardware spec-wise (with the exception of the amount of RAM ofc. and maybe the SMT/cirquit layout). Could I ...
-1
votes
1answer
23k views

Raspberry PI 3 Increase Gpu Memory to 944 [closed]

I use Raspberry PI 3 and wnat to get more GPU memory to work. I overclock my PI to get more performance because I use it for home Apache/PHP/MySQL server, Access Point and somethimes play music and ...
1
vote
0answers
2k views

Traditional swap file rather than dphys-swapfile?

I have a RPI-3 with the ARMv8 Broadcom SoC. I needed to create a swap file because I was running out of memory on occasion. I used a traditional swap file in a separate partition because the dphys-...
0
votes
2answers
240 views

Can I have one raspberry pi access the memory of another pi?

Long story short, I am building a sensor that uses 2 pi's and each of them have a camera attached to it. I would like 1 pi to record and store the video and the other pi to access that video to ...
2
votes
1answer
198 views

Arguments for execl compiling with gcc [closed]

I have a weird problem with a Raspberry Pi 2 (model b). I'm compiling the following program in GCC in Raspbian Jessie (Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/...
1
vote
0answers
1k views

Remote restart after -bash: fork: Cannot allocate memory

I am running Raspbian on a Raspberry Pi which is located in a remote location. I use Putty to connect to it via SSH. I can connect fine but when I try to run any command I get the following: -bash:...
3
votes
1answer
460 views

Largest micro sd card

What is the largest micro sd card that the Raspberry Pi 3 can handle? I have a 64 gb card that works flawlessly, but would like to try something larger.
15
votes
3answers
7k views

Why do I have so many RAM disks?

I have Arch Linux running on my Raspberry Pi 2. Right after install, I ran lsblk, fdisk and df commands (unfortunately I did not save the output) but I had one disk, which is the SD card and two ...
2
votes
1answer
391 views

What does libcofi do?

This answer rather vaguely states "libcofi-rpi.so is a hack to speed up certain memory operations." Apart from the fact that the file is called libcofi_rpi.so on my machine, what exactly is libcofi ? ...
4
votes
3answers
4k views

Raspberry pi class 4 vs Raspberry pi 2 class 10

I currently have the previous raspberry pi class 4 card. I'm considering getting the new raspberry pi model 2 class 10 card. Is there a speed difference between the two cards?
3
votes
3answers
1k views

Is 8gb enough to support Ubuntu MATE without storage issues?

After becoming familiar with Rasbian and Terminal, I decided to try something new with ubuntu MATE. Aside from the microSD card that the Raspberry pi came with, which I want to keep the Rasbian ...
3
votes
1answer
4k views

Can't install O/S from NOOBS

Preformatted 8GB micro SD card opens screen to install Raspbian, data partition, or boot from Scratch, but says I have 0 MB of 2762 MB needed, and offers no options to proceed. Where do I go from ...
2
votes
1answer
13k views

Freeing up cache when memory is low

I have my raspberry pi A+ in my embeeded project and every byte of memory is important when I've only got 128 MB to my CPU (I need 128 MB for the GPU because I use the camera module). Unfortunently ...
1
vote
1answer
561 views

Minimum gpu_mem on π2

The documentation claims, 16 MiB is the lower limit for the gpu memory size. When I set it to less than 32 MiB, start.elf won't run successfully. Everything I get is a repetitive four times blinking ...
2
votes
0answers
379 views

Segmentation fault caused by libmysqlclient.so or libcofi_rpi.so

Was getting a segmentation fault in a program that has traditionally run fine on most flavors of linux. Running ADB revealed that this seems to be caused by libmysqlclient.so using memcpy incorrectly, ...
0
votes
2answers
5k views

Is it possible to store data in Raspberry Pi?

I'm sorry if my question is very basic for some of you. I'm developping an application which is becoming complex. Currently I'm using Arduino. The application stores some data in the Microcontroler (...
3
votes
1answer
852 views

Would booting off of a USB hard drive increase the responsiveness of my Raspberry Pi 2?

I love the Raspberry Pi as a computing platform but sometimes I cannot stand the sluggish performance of the device. Occasionally when I'm browsing the internet or even trying to open the regular ...
-2
votes
1answer
78 views

Raspberry Pi project with sound concatenation based on date/time and events [closed]

I'm thinking about making my first Raspberry Pi project and have some questions regarding what I will need to be able to complete this project. The end result should be a sound based machine with two ...
3
votes
1answer
66 views

Is there any way to limit data usage to xMB in sd card? [closed]

I am using an 8gb card but want to limit usage to 4gb, meaning I want to delete old files which cross the 4gb mark. Is there any way of achieving this?
15
votes
2answers
8k views

Where is the Raspberry Pi 512 MB memory located on the board?

Is the Raspberry Pi RAM located inside the Broadcom SoC or outside of it? If it's located outside, what's the peripheral responsible for accessing this memory?
2
votes
1answer
705 views

What's the smallest amount of memory that can be allocated to GPU?

According to http://elinux.org/RPiconfig#Memory , the minimum that can be specified in /boot/config.txt is 16MB. Is there a way to shut off video completely and allocate nothing? I'm asking about ...
5
votes
3answers
8k views

New PI 2 B+ unusably slow, CPU and RAM not being used?

Just setup a new R Pi 2B+, using raspbian on a 16gb sd card, ethernet, USB mouse/keyboard and HDMI out. Finding it extremely slow - the UI is reasonably responsive however installing monodevelop took ...
3
votes
1answer
2k views

Available memory on Raspberry Pi 2 (missing 240 MB)

I just installed Raspbian (2015-01-31) on my brand new Raspberry Pi 2 with 1GB memory. But I'm puzzled when I run top I only get: KiB Mem: 762384 total. I've tried to set gpu_mem=16 in config.txt ...
0
votes
1answer
1k views

Pi running a midori fullscreen dashboard and wifi check cronjob keeps running out of memory

I have a Model B Raspberry Pi running the latest version of Raspbian, with all the packages up-to-date. It's fitted with a 32G SD card and its only purpose is to display a dashboard with some metrics. ...
5
votes
2answers
3k views

Can Compute Modules provide clustering and high availability?

I am very interested in Compute Modules, but have a few concerns: The main press release (linked above) for Compute Modules states that these systems are "primarily designed for those who are going ...
1
vote
1answer
783 views

What is VideoCore MMU used for?

In RaspberryPI architecture (Broadcom BM2328 SoC), we can see that ARM core physical memory is mapped to VideoCore memory through a second MMU (the first maps ARM virtual to physical memory). What is ...
1
vote
2answers
220 views

What else can I do to maximize the RAM left for my application after all the services are started?

I'm configuring a new Rpi A+ with for headless processing. I'm currently running Pidora 2014. I have already minimized the GPU memory to 16 and switched to run level 3. After boot, I'm left with ...
2
votes
1answer
224 views

does the kernel.img file loaded at physical @ 0x00000000 or 0x00008000

on the final stage of the boot process of raspberry. The start.elf loads kernel.img which is the binary file containing the OS kernel and releases the reset on the CPU. I have two questions 1 does ...
3
votes
1answer
1k views

bad_alloc error

I get this error, when I login via SSH, to my pi, but it appears to be fully functioning. error pid:15354, boost::interprocess::bad_alloc 1) Is it to do with a memory problem? 2) Should I be ...
1
vote
2answers
572 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
269 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?
0
votes
1answer
542 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 on ...
1
vote
1answer
662 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 drive ...
0
votes
1answer
629 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 ...
1
vote
1answer
360 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 ...
5
votes
1answer
1k 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: https://raspberrypi....
23
votes
2answers
93k views

How to get remaining memory in SD Card?

I have 16 GB SD card where I installed Raspbian using Win32 Disk Imager. After burning the image in Windows it shows only around 40+ MB of free space. Since Raspbian image is around 2 GB where is ...
0
votes
1answer
258 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
185 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 ...
3
votes
1answer
135 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 ...
2
votes
2answers
1k 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 ...
5
votes
2answers
1k 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 ...
13
votes
2answers
24k 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 ...
1
vote
1answer
824 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 ...