#memoryerror
Explore tagged Tumblr posts
Text
Why we Humans make mistakes?
Humans make mistakes due to a combination of biological limits, cognitive shortcuts, emotional interference, and external factors like stress or distractions. But mistakes are also essential for learning and adapting — the brain often learns best by identifying and correcting errors.

#HumanError#CognitiveBias#BrainScience#Neuroscience#CognitivePsychology#DecisionMaking#MentalFatigue#PsychologicalScience#WhyWeMakeMistakes#HeuristicsAndBiases#MemoryErrors#AttentionSpan#CognitiveLoad#LearningFromMistakes#BehavioralScience#EmotionalIntelligence#BrainFunction#MindInFocus#SelfAwareness#thinkbetter
1 note
·
View note
Text
numpy sensibly refusing to allocate 29 terabytes of RAM for me to construct a 5e6 X 5e6 adjacency matrix: MemoryError 😕
24 notes
·
View notes
Text
Mathematical Roller Coaster .
With @gvrde, we work on what we called mathematical roller coaster, originally based on the Recamán Sequence, where you hop an increasing number of distance, trying to stay as low as possible, without going in the negative, nor where you already went.
You'd get something like this :
However, I wanted to know if it could loop back on zero.
And there was needed 4n hops to have a satisfying loop.
We then attributed a score discouraging spiraling on itself, or going in a straight line.
Result started with n=3, but we couldn't go really high, 'cause we used a recursive program in O(16^n). (At n=10 : MemoryError)
And I think they'd made fun attractions.
5 notes
·
View notes
Text
python can execute strings, what about having it generate more lines for the if/else at runtime if the number's too large?
it seemed to let me go right past 2996, after around 5000 it started giving me memoryErrors with large numbers though, not sure what that's about
ELIF_LIMIT = 5000
def isEven(num, maxTest = 0): global result result = None elifchain = (f"global result\n" f"a = {num}\n" f"if a == {maxTest}: result = True\n") for i in range(maxTest + 1, maxTest + 1 + ELIF_LIMIT, 2): elifchain += (f"elif a == {i}: result = False\n" f"elif a == {i+1}: result = True\n") elifchain += f"else: isEven({num}, {maxTest + ELIF_LIMIT})" exec(elifchain) return result
So python is apparently unable to handle if-statement with more than 2996 elif’s, which is fair, however, it’s really limiting my implentation of an is_even function
Any ideas on how I can work around this?
5K notes
·
View notes
Text
Troubleshooting ORACLE Database Out of Memory Errors-ORA 4031:
Troubleshooting ORACLE Database Out of Memory Errors-ORA 4031:

Below error will be registered in alert log of ORACLE database when out of memory error occurs: ORA 4031
An ORA-4031 error is raised when memory is unavailable for use or reuse in the System Global Area (SGA). The error message will indicate the memory pool getting errors and high level information about what kind of allocation failed and how much memory was unavailable.
The problem with…
View On WordPress
#databasememory#learnoracledba#memoryerror#oracle#oracledatabase#oracledba#oraclememory#oraclescripts
0 notes
Note
"ODBC: ERROR [HY000] out of memoryERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
sick
1 note
·
View note
Text
The code I wrote for an assignment ran for an HOUR before throwing up a MemoryError I want to cry
7 notes
·
View notes
Text
Python 标准异常总结
AssertionError断言语句(assert)失败AttributeError尝试访问未知的对象属性EOFError用户输入文件末尾标志EOF(Ctrl+d)FloatingPointError浮点计算错误GeneratorExitgenerator.close()方法被调用的时候ImportError导入模块失败的时候IndexError��引超出序列的范围KeyError字典中查找一个不存在的关键字KeyboardInterrupt用户输入中断键(Ctrl+c)MemoryError内存溢出(可通过删除对象释放内存)NameError尝试访问一个不存在的变量NotImplementedError尚未实现的方法OSError操作系统产生的异常(例如打开一个不存在的文件)OverflowError数值运算超出最大限制ReferenceError弱引用(weak…
View On WordPress
0 notes