I'm tempted to days solving this problem and I can not, my scripts work on several machines with python, but on the server I need to run the application and presents the error, I've already left a memory test running for three days and the memories are perfect.
str_grande = ''.join((str(y) for y in list(sys.stdin.readline())))
x = [int(e) for e in str_grande.split()]
------------------------------------------------------
Traceback (most recent call last):
File "welton.py", line 12, in
str_grande = ''.join((str(y) for y in list(sys.stdin.readline())))
MemoryError
Command exited with non-zero status (1)
If you run the program in C, it works perfectly! But as I need to integrate with Python for subfunctions I can not use C. In this language I use the "long long int" is there any similar Python structure? NOTE: Lists and dictionaries have size limits! In list does not accept +12.000 elements
Equipment is:! 1.4GHz Quad-Core ARM Cortex-A5 Wireless 2.4GHz and 5GHz IEEE 802.11b / g / n / ac, Bluetooth 4.2, BLE Gigabit Ethernet via USB 2.0 (300Mbps maximum throughput) 1GB of RAM 64-bit CPU 4 USB ports 4-pole stereo output and composite video port HDMI Full Size 10/100 BaseT Ethernet Socket Micro SD Port to load your Ubuntu operating system and store data