内存处理问题 [英] Memory handling problem
问题描述
你好
我正在使用一个子程序来解决C ++中相对较大的矩阵
但是这个文本出错了
"应用程序在0x0040a97a位置发生异常未知软件异常(0x0000005)
我知道这是内存分配中的错误。我的电脑有16GB RAM内存。但我不知道怎么用它来解决大于10000x10000的矩阵。
现在我无法解决大于4000x4000的矩阵。
我很感激任何人帮助我
谢谢
Reza
Hello
I am using a subroutine to solve relatively large matrix in C++
but I got an error with this text
"The exception unknown software exception (0x0000005) occurred in the application at location 0x0040a97a"
I know that this is an error in memory allocation. my computer has 16GB RAM memory. but I dont know how to use it to solve a matrix greater than 10000x10000.
right now I can not solve matrices greater than 4000x4000.
I appreciate anyone help me
Thanks
Reza
推荐答案
你好
我正在使用子程序来解决C ++中相对较大的矩阵
但我收到了这个文本的错误
"应用程序在0x0040a97a位置发生异常未知软件异常(0x0000005)
我知道这是内存分配中的错误。我的电脑有16GB RAM内存。但我不知道怎么用它来解决大于10000x10000的矩阵。
现在我无法解决大于4000x4000的矩阵。
我很感激任何人帮助我
谢谢
Reza
Hello
I am using a subroutine to solve relatively large matrix in C++
but I got an error with this text
"The exception unknown software exception (0x0000005) occurred in the application at location 0x0040a97a"
I know that this is an error in memory allocation. my computer has 16GB RAM memory. but I dont know how to use it to solve a matrix greater than 10000x10000.
right now I can not solve matrices greater than 4000x4000.
I appreciate anyone help me
Thanks
Reza
您是静态还是动态分配内存?
Raghuram
Are you allocating memory for this statically or dynamically?
Raghuram
您是静态还是动态分配内存?
Raghuram
Are you allocating memory for this statically or dynamically?
Raghuram
我是通过指针动态分配内存。
I am allocating memory dynamically by pointers.
让我们看看你的分配。
您使用的操作系统是什么?
什么编译器?
Let''s see your allocation.
And what operating system are you using??
And what compiler??
这篇关于内存处理问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!