-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory allocation failed #74
Comments
Do you have the source for the application available? |
|
Can you run it inside a debugger to get any more information? It's not much information to go on. |
For my regret now I can't do it. I have no free time :( |
Do you have the data set available that you run this query against? |
There is only two columns: |
I am connecting to DB with VPN. But I do not thing it does matter. With Python all worked fine. |
|
32, I have not VS |
OK, that would be great, trying to reduce things that can go wrong. |
Yes, it's work fine with PG 10.1 on Windows 10 without VPN. |
Perhaps it's something in the socket implementation that the client is using to connect to the server. It would be quite difficult for me to debug since I don't have a VPN connection. If you can compile druntime and Phobos you could try a debug build of the garbage collector. Basically enabling these three debug identifiers [1] and recompile druntime and Phobos. Then recompiling and run your application. After running the application it should have created a file [1] https://github.com/dlang/druntime/blob/master/src/gc/impl/conservative/gc.d#L20-L22 |
If it's issue with GC than mysql-native have same problem on x32 builds. Because I remember that developer of mysql-native said that GC on 32 is very buggy. But now I do not want to install any VS-related stuff, because now I am writing on D no more that 1 hour per week. In any case thanks! |
The GC might not be the issue but a debug build can provide some additional information to figure out what's wrong, perhaps a stacktrace. |
I am trying to build simple app Windows 10 that produce select query to PG 9.6.
But on example I am getting error:
core.exception.OutOfMemoryError@src\core\exception.d(696): Memory allocation failed
I am using latest DMD 2.077
What can be wrong?
The text was updated successfully, but these errors were encountered: