Torizon: Out off mem with Grafan sample

Hi all

Info: Using Torizon build 4.0.0-devel-202006 (Release date: 2020-06-01)

I try the Multiple Container with TorizonCore (Grafan) on my iMX6S Colibri module, but I get “Out of memory” exception when I start it.

I got it from “torixon-samples” on Git

Does the iMX6s not have sufficient resources for running this sample?


colibri-imx6-05127328:~/grafana$ docker-compose up -d
Creating network “grafana_backend” with the default driver
Creating network “grafana_frontend” with the default driver
Creating influxdb …
Creating collectd …
Creating weston …
[ 406.865892] Out of memory: Killed process 1137 (python3) total-vm:78712kB, anon-rss:15632kB, file-rss:1152kB, shmem-rss:0kB, UID:1220 pgtables:48kB oom_score_adj:0


Info: Using Torizon build 4.0.0-devel-202006 (Release date: 2020-06-01)

Greetings @TJO,

The i.MX6S is on the lower end memory wise of all our compatible Torizon hardware. I’ll admit that some of the examples we put up may not have been designed for/tested with all of the range of hardware in mind. If possible could you clear all docker images and docker containers off the system that aren’t relevant to the grafana example. Then after you have a clean system, run the example again and try to monitor the memory usage during the process of possible. If this still fails then it might be a case of this sample wasn’t well tested on the lower end hardware. In which case sorry for the inconvenience but thank you for the letting me know, so we can do a better job of testing samples or marking them for hardware limitations.

Best Regards,

Hi Jeremias

Im a bit ned to this Torizon/Docker. How do I clean out the images not needed.
I did run a “docler system prune” prior to run the sample…


Hi Thomas,

If you ran docker system prune then that should have done what I asked of you. I did some additional testing on my own and spoke internally with the team and it appears that this is just a hardware limitation with the i.MX6S. We’ll try and do a better job of checking our samples and guides on the low-end of our modules.

While I still think it’s possible to have a Torizon system on the i.MX6s, you do have to be a lot more mindful about resource usage and the design of your application.

Best Regards,


Thanks for the input and efforts for helping me.

Currently I just checks different modules to see which one will fit a new product best.
I just started with the smallest one, to see when I reach the limit. I gues I did now :slight_smile:

I still has to test the iMX6DL and a Versin iMX8


Hi @TJO,

Good to see that the issue is now clarified.

Best regards,
André Curvello