Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [memory]

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

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

MicroSD card authentication with particular Raspberry Pi board [closed]

I have rasberry pi 3 and a sandisk 16GB micro sd memory card . How can I configure my rasberry pi such that it only gives access to my micro sd card and no other micro sd card as well as my micro sd ...
Srinivas Sivakumar's user avatar
0 votes
0 answers
27 views

OpenCV AruCo detection fails: "Embedded video playback halted; module v4l2src0 reported: Failed to allocate required memory."

I've been trying to run a simple AruCo detection code on my Raspberry Pi 4B, and consistently get the error "Embedded video playback halted; module v4l2src0 reported: Failed to allocate required ...
Carter Betts's user avatar
0 votes
0 answers
79 views

Clang sanitizers fail

On my Pi 4 Model B with 4GB running the 64-bit Raspberry Pi OS: $ uname -a Linux pi4b 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux I have installed Clang 16 from llvm....
Mark Adler's user avatar
1 vote
1 answer
771 views

Update software of a Pico remotely

I'm using a raspberry Pi Pico and I'm struggling to find if it's possible to update my script remotely (I cannot use neither SWD or USB). Currently my new firmware (can be .uf2, .bin or .hex file) is ...
Bibibou's user avatar
  • 13
0 votes
2 answers
133 views

RAM Change on the raspberry pi 4

Can you change your RAM in your pi that you get 16gb RAM?
hackingturtle's user avatar
0 votes
0 answers
11 views

Deleted the contents of the sd card but made sure to back it up problem

Deleted the contents of the sd card but made sure to back it up but when I am simply try to copy paste the contents it does not work. My raspberry pi does not boot up. Any suggestions on what I can do?...
user155824's user avatar
0 votes
0 answers
270 views

Using DMA for efficient memory copying

Some background info about my problem: I have an external device that is constantly giving me data through SPI I handle SPI reads with DMA from userspace, as kernel based solutions (already ...
PookyFan's user avatar
  • 133
4 votes
2 answers
944 views

not sure what type of m.2 ssd to adfd to my Pi 4

I'm new to Raspberry Pi. I'm still confused after online research about what type of SSD to add to my Pi 4B with 4G. I'm planning to use it as either a media server or a home automation server running ...
Cool Pontiac's user avatar
3 votes
0 answers
210 views

How can I reduce the memory usage of my python3 scripts on a Raspberry Pi Zero 2? [closed]

I created 9 python scripts that I run as cron jobs. When I run them on a VirtualBox virtual machine running Ubuntu Server 20.04 with 512MB of RAM with a single processor, everything runs smoothly and ...
Serge Charbonneau's user avatar
-1 votes
2 answers
685 views

Why Does my pi 3B+ say it only has ~100M of ram?

EDIT this apprears to be a software issue. I booted another RPI with a fresh OS and it showed 1GB of ram. I then booted it off the HDD that I am using for the other rpi and it showed that there was ...
jeffpkamp's user avatar
  • 121
1 vote
1 answer
446 views

PiPico Quad Spi library to controll NOR flash modules

I need to use quad SPI NOR flash modules (W25Q128JV) for a project and I bought a Pi Pico as a simple way of validating the design before moving to an FPGA for the final project (the project is real-...
OM222O's user avatar
  • 121
0 votes
0 answers
1k views

Slow write speeds to Rasberry Pi Pico flash using LittleFileSystem/LittleFS

I have a Sparkfun Things Plus RP2040 with 16MB of onboard flash. I am trying to write a program which uses the flash as a buffer (let's say to store 5MB of data) before writing to an SD card. The idea ...
Jamie Macaulay's user avatar
0 votes
0 answers
107 views

High speed TTL pulse generation

I'd like to take ~400 MB binary file, where 0's indicate low and 1's indicate high, and stream this out the rPi I/O with 20 ns time base. So something like 0000101001 Would yield Low Low Low Low Hi ...
joshp's user avatar
  • 101
1 vote
2 answers
676 views

Is it possible to write/save data/variables in Memory instead of the sdcard to extend the lifetime?

I tried looking for a similar question but had no luck. The goal is to extend the sdcard's lifetime by saving data to RAM instead of the card. The program in question is running every 30mins to n-...
user avatar
1 vote
1 answer
93 views

Kubernetes in RasPi 4B does not detect RAM

I'm trying to set up a Kubernetes cluster on a bunch of Raspberry Pi 4B nodes. I adopted the setup I use for my v-kube-cluster (Kubernetes in virtual boxed using vagrant). See https://github.com/...
Sebastian Sommerfeld's user avatar
0 votes
2 answers
185 views

Memory card issues

So I have had it the piwh for a while running pihole never had any problems until recently got a memory issue. I have used the clean and autoremove and gained 28% but of a 32gb SD card it's showing 6....
J22's user avatar
  • 1
1 vote
0 answers
1k views

Micro SD cards - fastest possible?

I'm using a Pi Zero W with a micro SD HC and a Pi4 with a XC-I card. My questions: whats the fastest micro SD card the Pi Zero and Pi 4 will support? I'm aware that the Pi Zero can read XC but will it ...
Fuxi's user avatar
  • 129
4 votes
1 answer
507 views

What's your experience in improving memory management (Swap on NVMe/SSD, zram, zswap)?

I've got an NVMe SSD attached (via USB 3 port) to my Raspberry Pi and wonder what's the best (and still relatively easy) way to configure it for memory demanding applications (like Geth), assuming ...
msa's user avatar
  • 141
0 votes
0 answers
342 views

Raspberry pi unable to allocate memory error when training a model

I'm trying to train a model on my raspberry pi 4 B 8gb and numpy can not allocate memory -- it needs 1.09 gb. I went digging online and haven't found anything useful. Vcgencmd get_mem gives me 948M ...
Leontii Maksimov's user avatar
1 vote
0 answers
94 views

Memory leak using php with dio to read /dev/ttyAMA0

I am using my Raspberry Pi 2 (buster, php 7.4.10) to communicate with an inverter in a small solar system. All the code is functional but it tends to crash/exit after a few hours. Looking at task ...
M Szil's user avatar
  • 11
0 votes
1 answer
49 views

Memory-Related Issue of RPi Seizing Up?

On RPi 3B/Raspbian, I'm experiencing dreadful seize-ups when it appears I've filled the memory up with programs. Mouse movements, for example, can take 10 seconds. This happens with a standard setup. ...
TKonan's user avatar
  • 1
0 votes
2 answers
4k 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.
AsianXL's user avatar
  • 151
0 votes
0 answers
89 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. ...
Moe's user avatar
  • 1
0 votes
1 answer
769 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 ...
se7en's user avatar
  • 13
3 votes
1 answer
5k 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 (...
Geremia's user avatar
  • 159
1 vote
1 answer
1k 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 ...
Patrick Balada's user avatar
0 votes
0 answers
160 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 ...
edmz's user avatar
  • 109
0 votes
2 answers
2k 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 ...
hjf's user avatar
  • 109
0 votes
1 answer
903 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 ...
pablonatal's user avatar
2 votes
1 answer
994 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 ...
Vicky's user avatar
  • 21
-1 votes
1 answer
887 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 ...
BlueSeph's user avatar
  • 149
1 vote
0 answers
1k 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 ...
AjW-Dred's user avatar
1 vote
1 answer
170 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 ...
IT Blacksmith's user avatar
0 votes
0 answers
1k 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 ...
Cheiron's user avatar
  • 173
0 votes
0 answers
228 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 ...
ab123's user avatar
  • 121
2 votes
2 answers
5k 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 ...
Carlos B. Feitoza Filho's user avatar
-1 votes
1 answer
73 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 ...
usman1644's user avatar
0 votes
0 answers
317 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 ...
TooOldToStart123's user avatar
3 votes
3 answers
9k 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 ...
Mawg's user avatar
  • 401
1 vote
0 answers
49 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. ...
Guy Fawkes's user avatar
0 votes
2 answers
274 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?
Virtual Ghost's user avatar
2 votes
1 answer
108 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 ...
Gull Noor's user avatar
3 votes
1 answer
704 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 -...
baziorek's user avatar
  • 141
2 votes
2 answers
486 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 ...
zaen's user avatar
  • 123
-1 votes
1 answer
827 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 ...
ali's user avatar
  • 37
3 votes
1 answer
220 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 ...
Technico.top's user avatar
  • 1,406
20 votes
2 answers
26k 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 ...
geerlingguy's user avatar
  • 1,636
0 votes
2 answers
9k 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 ...
Hbib's user avatar
  • 43
0 votes
2 answers
524 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 ...
Kendall's user avatar
  • 275
1 vote
1 answer
84 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 ...
WoJ's user avatar
  • 543