FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.23k stars 213 forks source link

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

Open firebird-automations opened 5 years ago

firebird-automations commented 5 years ago

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 commented 5 years ago

Commented by: @AlexPeshkoff

What a reason to run x86 binary on x64 system?

firebird-automations commented 5 years ago

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 commented 5 years ago

Commented by: Segey Khalyutin (notesoft)

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

firebird-automations commented 5 years ago

Commented by: Segey Khalyutin (notesoft)

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

firebird-automations commented 5 years ago
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 commented 5 years ago

Commented by: @AlexPeshkoff

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

firebird-automations commented 5 years ago

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...