Go to advanced search

by Kradenko
Thu Oct 17, 2019 9:38 am
Forum: Raspbian
Topic: experimental support for multiarch with Raspbian and Debian arm64
Replies: 22
Views: 3624

Re: experimental support for multiarch with Raspbian and Debian arm64

Hi Been watching the forums like a hawk regarding the 64Bit Rasbian OS which is on the way. Saw this post. I have been struggling to compile items due to some or other limit on memory allocation to processes. Here is my original thread: https://www.raspberrypi.org/forums/viewtopic.php?t=253278 Would...
by Kradenko
Sun Oct 13, 2019 10:02 am
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Re: Raspbian refuses to use Swap Space

Well, I have now installed Gentoo 64Bit on the Pi and it has gone a lot better. I can now actually use the full 4GB of memory. It also allows me to go deep into swap space. 8GB on an external harddrive. Still bombs on larger datasets. Will wait for the official 64Bit launch of Raspbian and try again...
by Kradenko
Thu Oct 03, 2019 12:00 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Re: Raspbian refuses to use Swap Space

2. Setup a Ubuntu VM with 4GB of ram with a 8GB swap file. See if the process runs on a normal x86 system using swap space. x86, or amd64? If the latter, then you're hitting per-process limits on the Pi; given it's a database, it may not be actually using the memory, but may be using the address sp...
by Kradenko
Thu Oct 03, 2019 11:23 am
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Re: Raspbian refuses to use Swap Space

Hi, Its likely to be a maximum memory per process limitation. Even with many gigabytes of swap, you can't allocate more than a limited amount of RAM per process. But even with a 32 bit OS, it must be 4GB so I can't explain why you are limited to 1GB or so. I have two ways I guess I could try see wh...
by Kradenko
Wed Oct 02, 2019 1:43 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Re: Raspbian refuses to use Swap Space

Hi, Its likely to be a maximum memory per process limitation. Even with many gigabytes of swap, you can't allocate more than a limited amount of RAM per process. But even with a 32 bit OS, it must be 4GB so I can't explain why you are limited to 1GB or so. I have two ways I guess I could try see wh...
by Kradenko
Tue Oct 01, 2019 10:26 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Re: Raspbian refuses to use Swap Space

Just to add to this. Is there something Rasbian that prevents apps from using more than X amount of ram? maybe a page limit of sorts? I tried running it now again and it bombed out with the following output: [email protected]:/mnt/external/maps $ osrm-extract -p ~/osrm-backend/profiles/car.lua africa-l...
by Kradenko
Tue Oct 01, 2019 10:14 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Re: Raspbian refuses to use Swap Space

depending on how you "load-up" applications on your RPi4B-4G it may never use the swap file if usage is "normal desktop use" as there are plenty of RAM for the system to "play around" that's why the it was recommended before to keep the swap-file deactivated. you can verify its use, as well as the ...
by Kradenko
Tue Oct 01, 2019 7:04 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Re: Raspbian refuses to use Swap Space

Hmmm. Can you show the output of: systemctl status dphys-swapfile Maybe you need to remove the entries you put in fstab? Here is the output: [email protected]:~ $ systemctl status dphys-swapfile ● dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file Loaded: loaded (/...
by Kradenko
Tue Oct 01, 2019 5:56 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Re: Raspbian refuses to use Swap Space

jj_0 wrote:
Tue Oct 01, 2019 5:52 pm
Raspbian uses a different mechanism for configuring the swapfile.

Tried that. It allocates the disk space and shows it as swap space. But never uses it. Wondering if it's maybe a kernel or software related issue?
by Kradenko
Tue Oct 01, 2019 4:52 pm
Forum: Advanced users
Topic: Raspbian refuses to use Swap Space
Replies: 17
Views: 1503

Raspbian refuses to use Swap Space

Hi all, I have been using the new Raspbian Buster OS on a Raspberry Pi 4 with 4GB of memory. I have also added a 750GB external HDD to the PI and placed a 8GB swap file on this external harddrive. Below is my configuration as per multiple tutorials and posts online. # /etc/dphys-swapfile - user sett...
by Kradenko
Sun Jan 03, 2016 9:59 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Second DS18B20 giving t=85000
Replies: 2
Views: 1394

Re: Second DS18B20 giving t=85000

Hi Thank you for the reply. I have been trying all combinations of things to see why this is happening. What is interesting is if I disconnect the power wire (red wire) of the second sensor I seem to get a reading a lot more often from the sensor. But I still get the t=85000 every now and again. I h...
by Kradenko
Fri Jan 01, 2016 11:58 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Second DS18B20 giving t=85000
Replies: 2
Views: 1394

Second DS18B20 giving t=85000

Hi all I am sitting with a bit of a different problem which I am struggling to solve. I purchased a Raspberry Pi 2 and two of the Waterproof DS18B20 Digital temperature sensor + extras (https://www.adafruit.com/product/381) units and I am trying to connect them up to give me the temperature inside t...

Go to advanced search