Questions tagged [memory]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

How to increase disk space while installing raspberry pi in buster in QEMU [closed]

How to increase the disk space so I can overcome Memory Error while installing tensorflow. My aim is to execute object detection API in raspberrypi emulator. Any other help is also highly recommended
0
votes
2answers
34 views

Low RAM, High Swap Usage?

Based on the screenshot, is this normal? In a couple of days, it will increase to 100MB of swap used (default is 100MB), but with low ram. I am running Pi-hole, PiVPN, log2ram, and No-IP.
0
votes
0answers
24 views

Moving /home dir form sd card to USB drive on a Rasspberry pi 4

I'm trying to run Insightface package on raspberry pi 4 after struggling to install all required packages namely cv2 and mxnet but when I exit python or run my program I get “corrupted size vs. ...
0
votes
0answers
24 views

practical RAM recommendation for RaspBian web browser? (2Gbytes or 4GBytes)

I am considering using some RaspBerry model for an Linux system which would be occasionally used to browse the web. Let's assume I just want to run a recent Firefox (e.g. 68) with half a dozen of web ...
0
votes
1answer
33 views

Plotting CPU and Ram utilization

I want to plot the CPU and memory utilisation of an Apache server hosted in Raspberry Pi 3B+ with Raspbian Stretch in it. For that I have followed the procedure mentioned here. The instructions work ...
2
votes
1answer
70 views

/boot/config.txt gpu_mem has no effect

I put gpu_mem=512 in /boot/config.txt (which file I had to create), and it had no effect. grep memory /var/log/Xorg.0.log returned only 2,839kB: [ 132.909] (II) FBDEV(0): hardware: BCM2708 FB (...
1
vote
1answer
55 views

Samsung MZ-76E250B/EU 860 EVO for raspberry pi 4?

I just bought my first raspberry pi and would love to attach an SSD. In search of good value for money, I came across this drive from Samsung. Does someone already have experience with it? I am ...
0
votes
0answers
26 views

Why does OOM killer output not appear in dmesg?

I've got a Buster box (10.2) and I'm investigating some system freezes. While going through that, I think I'm not getting the OOM output in the syslog. For instance, running tail /dev/zero which is ...
0
votes
2answers
344 views

Running x86 Windows app on a Raspberry Pi 3B

I followed this guide to install QEMU in a chroot and I'm able to execute x86 Linux binaries: https://stackoverflow.com/questions/51895452/qemu-debian-x86-on-raspberrypi Next, I tried installing WINE ...
0
votes
1answer
42 views

Python process Memory error

I am running a Python program that is scrapping data so whenever I try to retrieve too much data (I have not been able to scrape files up to 16 MB) the programme crashes. The error: INFO: Got 45294 ...
2
votes
1answer
137 views

How to write protect in DS2431 Maxim EEPROM using Raspberry Pi

I have connected my circuit as mentioned in the below link: Writing/Reading an EEPROM chip using 1-wire bus I am able to read and write through commands mentioned in the link. I would like to know ...
-1
votes
1answer
136 views

RPI3B+ Chromium Freeze - RAM Swap

I have some Raspberry pi's that I want to use it as a Browser Kiosk. When I use more than one tab with chromium the pi completely freeze I need to reboot it after this because the lack of ram, if I ...
1
vote
0answers
71 views

RPi Memory map and bus addresses

I'm trying to understand the RPi memory map as shown in the BCM2857 reference (http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf) Is a "Bus Address" the same as a ...
1
vote
1answer
38 views

Should I avoid using WP with some sort of visual composer when hosting on my Rapberry Pi 4? Is there a better and equally easy approach?

I've been told a WP-install can easily consume 2 Gigs of memory when editing in visual composers in WP. When my Pi only has 4 GB available and on top on that I'm running MariaDB (NOT Nginx), then ...
0
votes
0answers
124 views

Virtual register address translation on the raspberry Pi 4

When taking a look at the manual of the BCM2835 (which seems to be the correct one for the BCM2711), we can see, for example, that the base address of the SPI device is 0x7E204000 (page 152). Assume ...
0
votes
0answers
77 views

Raspberry Pi crashing while running VGG16

I need to run VGG16 as a convolutional base for feature extraction on some images. I am trying to initialize it on the Raspberry Pi 3B, but the Pi keeps crashing and restarting. I suspect that the Pi ...
0
votes
0answers
20 views

Has anyone used spidev library with python 3?

I am currently trying to interface a RPI 3B+ with a flash memory chip using SPI communication. do anyone have a good resource for using SPI communication with memory? What language should I use. I ...
2
votes
2answers
755 views

What is the correct way to use /dev/gpiomem with mmap to get access to Raspberry PI3 peripherals

I'm implementing a pascal library to deal with RPI3 peripherals. My goal is to control GPIO pins' functions, pins' logical levels, pins' pull resistors, I2C and PWM, at least. To achieve this I'm ...
0
votes
1answer
51 views

How to find the memory requirement (RAM) when network load is know on raspberry

I am want to use the Raspberry Pi for my experimental work. My network load will be approximately 2000bits. How I can find the memory (RAM) requirement against the network load? Which formula can be ...
0
votes
0answers
172 views

Pi 3 Model B+ can't boot after changing vRAM

I just got the device (Pi 3 Model B+) and am a total beginner. I'm using NOOB/Raspbian. Every time I try to change the video ram (either through the GUI or the config.txt) the device is unable to ...
3
votes
3answers
3k views

Raspberry Pi with flash memory?

Basically, I am looking for some form of non-volatile memory – which is not an SD card. Orange Pi and others have it, but I can’t find a suitable Raspberry Pi. Did I miss one? Are there any rumours ...
1
vote
0answers
46 views

All files lost during long shelf time

i was using my raspberry pi 3 over ssh and doing a bunch of scripts, cron jobs, etc. then i stopped for a bit and shifted my focus elsewhere and my pi remained unplugged on my desk for a few months. ...
0
votes
2answers
123 views

Is it possible to use a DDR2 Ram Chip on the PI as a pager file?

simple, I have a few old DDR2 RAM chips laying around, and would like to use the Ram chips for a pager file on my PI. is this possible?
2
votes
1answer
66 views

Computing power and memory for regression analysis

Does raspberry pi 3 have enough computing power and memory to perform regression analysis?I am making a Coordinate measuring machine prototype for my final year project and I need to perform linear ...
2
votes
1answer
457 views

How to compile project on Raspberry Pi, even when g++'s virtual memory exhausted despide big SWAP?

I want to build Iroha hyperledger on Raspberry Pi 3. So I've downloaded code and all dependencies and compiler gcc-8.2 (downloaded precompiled from here), then configured without tests: cmake -...
2
votes
2answers
180 views

What is the memory in the DS3232 RTC for?

I'm looking for an RTC to use with my Pi and came across the Maxim DS3231M. I also saw a similar model on Maxim's website, the DS3232M, which comes with 236 bytes of SRAM. The DS3231 seems to be a ...
0
votes
1answer
508 views

memory exhausted: can not allocate memory error in raspberry pi

I am trying to turn my raspberry to a PiCroft. For that I need to use these commands: cd ~/ git clone https://github.com/MycroftAI/mycroft-core.git cd mycroft-core bash dev_setup.sh I did nothing ...
3
votes
1answer
93 views

Accessing GPU memory content

I'm currently working with advanced picamera parameters. A new functionnality to come is the "lens shading correction", a RGGB array that modify the image generated by the camera in order to ...
11
votes
2answers
15k views

How to permanently disable swap on Raspbian Stretch Lite

I'm at my wit's end; it seems there's no way to tell Raspbian Stretch Lite to permanently disable swap space. Now, it's a bit of an edge case, wanting to keep swap turned off (in this case it's for a ...
0
votes
2answers
5k views

How do I set the default maximum Java heap size? [closed]

I want to set the default Java heap size to 1024m without needing to specify the -Xmx option every time I run a jar file. Tried adding export JAVA_OPTIONS=-Xmx1024m to .bashrc file but it didn't ...
0
votes
2answers
369 views

Creating Swapfiles

I have a Pi3 hooked up with a WDLabs PiDrive I have Raspbian Lite installed on the drive and in trying to run some docker images simultaneously some of the images processes are being "killed" with a ...
0
votes
1answer
60 views

Will linking the clock file to an in-memory file lower the wear on the SD card?

I use systemd-timesyncd, which writes a status (probably) to a file at every synchronization. As the Arch documentation mentions, The service writes to a local file /var/lib/systemd/clock with ...
1
vote
1answer
844 views

Zram appears not to be working

I use very little of my Raspberry Pi 2B's CPU, but I frequently need more memory. In order to free up memory on my Pi running Ubuntu MATE, I set up Zram by installing zram-config. I was pleasantly ...
0
votes
1answer
116 views

Turn Raspberry Pi off but keep the RAM powered?

Is it possible to turn almost everything on a Raspberry Pi off (CPU GPU etc), except for the ram? Basically putting the Pi in a low power state but preserving whatever it was doing at the moment on ...
4
votes
1answer
6k views

Unable to set GPU memory split on Raspberry Pi Zero W

I have looked everywhere (both on and off StackExchange) for this but cannot get an answer: I have a Raspberry Pi Zero W, which has 512MB of RAM total. I am running it headless, so I want to ...
4
votes
1answer
958 views

How can I install keybase (and dependencies) without running out of memory?

I have a Raspberry Pi 3 running the most recent Raspbian distro. I've installed the most recent go, from the prebuilt package and have it on my path: $ go version go version go1.9 linux/arm However,...
1
vote
3answers
167 views

Hardware and OS Options for Quick Dev/Test Cycles on the Model A

I have a Rasperry Pi 1 Model A. I want to use it on a hobby project that will require me to have lots of dev/test cycles where I: Write some code in a higher-level language (Scala; but could be ...
0
votes
1answer
781 views

Kernel panic - not syncing : out of memory and no killable processes when booting after setting GPU memory to 256 MB in raspi-config

I tried booting in recovery mode (holding down shift from a USB keyboard attached to the Pi2) and still can't boot to fix. Any solutions? Thanks
2
votes
0answers
720 views

How to force GPU memory to 0 on a headless server [duplicate]

Is there any way to force the shared memory to 0? I'm running Jessie on a pi3 (and a pi2 and a few zero-w's) as a headless server and only ever access it via SSH or a WebUI for certain services. I ...
3
votes
1answer
9k views

More Memory on Raspberry Pi

So I was wondering if there was any way to allow more ram to a program on a Raspberry Pi 3. I have a process which takes 76,7% of the memory (it's a tomcat server) and need another one like this to ...
1
vote
0answers
340 views

How can I set video memory to max when using vc4-kms-v3d?

According to Anholt, the creator of the opensource kernel device tree overlay at Broadcom, the maximum is 256M. How do I set this? gpu_mem=256 in /boot/config.txt is not the correct why I think. ...
6
votes
1answer
1k views

Extra 16M memory on Pi2/Pi3

My 1 GiB RAM Pi shows this: >vcgencmd get_mem gpu gpu=128M >vcgencmd get_mem arm arm=880M The former is specified in /boot/config.txt, but the total here is only 1008 MiB. What happened to ...
2
votes
1answer
875 views

Memory Limit of Python3 in Raspberry 3

We are running an python application which needs ~2400MB (on Windows). Our Raspberry Pi 3 has a 4GB swap and runs on 164MB RAM idle. So from our point of view python should be able to use 4GB on the ...
2
votes
1answer
136 views

How to partition 32G SD card with 6 sda# drives to max memory usage - Raspberry / Ubuntu

I am only a beginner at Linux-OS's so take this into consideration when you answer this question. I have noticed that my 32G SD card is partitioned into two sda# drives but I need to max out this ...
1
vote
0answers
61 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
747 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
759 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,...
13
votes
3answers
9k 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
1k 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: ...