Skip to content
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

x32 gbak: ERROR:unable to allocate memory from operating system with -ONE_AT_A_TIME [CORE5998] #6248

Open
firebird-automations opened this issue Feb 11, 2019 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Segey Khalyutin (notesoft)

C:\WINDOWS\system32>"C:\Program Files (x86)\Firebird\Firebird_4_0\gbak.exe" -create -rep -v -p 8192 -ONE_AT_A_TIME d:\database\FB4\nmx00t.gbk localhost:d:\database\FB4\nmx00t.rst -user NMXDBA -password XXXXX
. . .
gbak: activating and creating deferred index INDEX_TCURRATPLN_UPNUM
gbak: activating and creating deferred index INDEX_TCURRENCYRATE_UPNUM
gbak: activating and creating deferred index FK_FIELD_DEF
gbak: activating and creating deferred index FK_TABLE_DEF
gbak:committing metadata
gbak: ERROR:unable to allocate memory from operating system
gbak:Exiting before completion due to errors

in FB 2.5 and FB 3.0.5 this restore is OK

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

What a reason to run x86 binary on x64 system?

@firebird-automations
Copy link
Collaborator Author

Commented by: Segey Khalyutin (notesoft)

we use big cross platform .dll/.so created by MinGW, created only 32 bit code... (work DB on Linux 64) . Port to MinGW-64 planed after upgrade FB2.5 to FB3. FB3 has problem with length utf8 char column (CORE5983) and diff between win and linux version.... we are try FB4... but backup/restore not complete...

@firebird-automations
Copy link
Collaborator Author

Commented by: Segey Khalyutin (notesoft)

if You think, that problem in 32bit limition, we start porting to MinGW-64...

@firebird-automations
Copy link
Collaborator Author

Commented by: Segey Khalyutin (notesoft)

on FB 4 alfa x64 restore -OK (without UDF dll )

@firebird-automations
Copy link
Collaborator Author

Modified by: Segey Khalyutin (notesoft)

priority: Blocker [ 1 ] => Major [ 3 ]

summary: gbak: ERROR:unable to allocate memory from operating system with -ONE_AT_A_TIME => x32 gbak: ERROR:unable to allocate memory from operating system with -ONE_AT_A_TIME

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

If you attach .fbk causing problems that will much help fixing an issue.

@firebird-automations
Copy link
Collaborator Author

Commented by: Segey Khalyutin (notesoft)

On version WIN WI-T4.0.0.1434 Firebird 4.0 Beta 1 this error do NOT reproduce on x64 and x32 both. Issue may by close :)

If FB project intersted, we can give you our database and cross-platform clent application - http://www.notematrix.com ( with 4196 procedures, 2050 triggers, 513 tables, 112 UDF ...) for testing next new versions of Firebird...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant