32bit – Paolo Redaelli https://monodes.com/predaelli A civil engineer with a longlife fondness for Software Libero Mon, 03 Jul 2017 16:08:08 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.2 91795679 Already? https://monodes.com/predaelli/2017/07/03/already/ https://monodes.com/predaelli/2017/07/03/already/#comments Mon, 03 Jul 2017 20:44:37 +0000 http://monodes.com/predaelli/?p=3200 Inforce IFC 6410
Inforce IFC 6410

I have overestimated the capabilities of my Inforce 6410. To be truly honest I knew that most ARM boards and the OSes running on it are 32bit and this includes Raspberries, but

“everyone knows that 4Gb of address space is enough for everything”

me, now, mocking the famous “640Kb ought to be enough for anybody. ” misattributed to Bill Gates

Ok, ok. Actually I have understimated the requirements of mongodb which – I shall admit – already warned me ominously that 32bit may be a problem.

Oh, my! I would have never guessed that I would have hit the limit. Well, I filled mongodb with 1,8Gb of crypto-trade data. Ok, not a small base of data I shall admit, but far from the addressing limit of 4Gb. This log entry tought scared me a little:

2017-07-03T15:05:22.897+0200 [conn135] ERROR: mmap private failed with out of memory. You are using a 32-bit build and probably need to upgrade to 64
2017-07-03T15:05:22.898+0200 [conn135] Assertion: 13636:file /mnt/cartoni/mongodb/zenbot4.3 open/create failed in createPrivateMap (look in log for more information)

I should have remembered that 32 bit kernels usually leave only 2Gb of addressing space for user-land programs.

I think I will end up using a good old x64. More power hungry, I know, but at least I won’t hit such limits.

All in all I launched only 5 paper-trading zenbots to compare various trading strategies.

]]>
https://monodes.com/predaelli/2017/07/03/already/feed/ 1 3200