Search found 75 matches: allocate

Return to advanced search

Re: hb_xrealloc can't reallocate memory

... which will be much slower than a computation process. So I am thinking that in order to use a buffer and prevent memory fragmentation I could pre-allocate a blank string of 400 line by 80 characters as my buffer. Then just keep replacing the spaces in the string with text until it is full, then ...
by James Bott
Wed Sep 02, 2015 9:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_xrealloc can't reallocate memory
Replies: 21
Views: 7397

Re: About CheckRes()?

Antonio Linares wrote:Hakan,

You can use SetResDebug( .T. ) and CheckRes() in just a portion of your app

Do you allocate memory in some way in your app ?

Do you manage bitmaps, fonts, etc ?


I dont allocate any memory in my application.
by Horizon
Mon Aug 31, 2015 9:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: About CheckRes()?
Replies: 7
Views: 937

Re: About CheckRes()?

Hakan,

You can use SetResDebug( .T. ) and CheckRes() in just a portion of your app

Do you allocate memory in some way in your app ?

Do you manage bitmaps, fonts, etc ?
by Antonio Linares
Mon Aug 31, 2015 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: About CheckRes()?
Replies: 7
Views: 937

XML - Memory problem

... 35 XML-files. Reading a few file's give no problem. Only a lot of files I get an error. I get the error Unrecoverable error 9006. hb_xgrab can't allocate memory. Is there something I have to close to solve this? I already tried oMnuXml:end(), but that gives an error... This is code: FUNCTION ...
by Marc Vanzegbroeck
Wed Apr 22, 2015 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML - Memory problem
Replies: 3
Views: 636

Re: Redimensionando imágenes

... rápido, muy rápido. Peeeeero (siempre hay un pero), el consumo de memoria se incrementa en cada conversión provocando en el tiempo un "Cannot allocate memory" , estoy intentando aislar la parte de la conversión que se come la memoria ... ya os cuento.
by AngelSalom
Thu Dec 11, 2014 10:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Redimensionando imágenes
Replies: 32
Views: 6009

Re: xBrowse with ADO

... oTimer   Return NIL The program crash after 30/60 minutes (depends to PC memory) with Unrecoverable error 9006: hb_xgrab can't allocate memory . Fivewin dosn't return any messagge , harbour get hb_out.log Application Internal Error - C:\FWH_09\samples\xb.exeTerminated at: 2014-12-01 ...
by Maurizio
Mon Dec 01, 2014 1:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse with ADO
Replies: 4
Views: 1334

Re: En tiempo de compilacion...

... and cannot be because it's not a lexer. 2. During dividing input data to tokens and later in finding match patterns Clipper PP always try to allocate the biggest possible set of input data as a given type even if it can break some possible other method of input data serialization. This can ...
by Antonio Linares
Tue Aug 26, 2014 7:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: En tiempo de compilacion...
Replies: 3
Views: 1586

Re: Bug harbour_3.2_32bits_MSVC2013_20142906

... the string by setting the dwTypeData member of MENUITEMINFO to NULL and then calling GetMenuItemInfo. The value of cch+1 is the size needed. Then allocate a buffer of this size, place the pointer to the buffer in dwTypeData, increment cch, and call GetMenuItemInfo once again to fill the buffer ...
by Antonio Linares
Tue Jul 01, 2014 7:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bug harbour_3.2_32bits_MSVC2013_20142906
Replies: 42
Views: 8051

rPreview error on XP

... on all computers in that business running XP The problem is confined to the SendEmail( ) method in rPreview. The error is hb_xgrab( ) cannot allocate memory. The error occurs in the following section of code:   CursorWait() cFile := ::SaveAs( .t., cFile, .f. )  ...
by TimStone
Thu Jun 12, 2014 10:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PDF error pops up again
Replies: 13
Views: 2920

PDF error pops up again

... 4 pages long ( 3 MB ). The first time, it goes out fine. However, if I try to send it out to another addressee, I get that famous hb_xgrab can't allocate memory message. This is happening on the client's XP machine(s). There is about 360 MB of available RAM. On my Windows 8.1 computer I cannot ...
by TimStone
Wed Jun 11, 2014 11:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PDF error pops up again
Replies: 13
Views: 2920

Re: Escuchar comunicaciones por puerto IP.

... available Return value The return value is always NIL. Description Function inetInit() must be called to initialize the sockets subsystem and allocate all required memory resources. It is recommended to place one call to inetInit() at the begin of a program that uses sockets. After the sockets ...
by JmGarcia
Mon Apr 14, 2014 9:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escuchar comunicaciones por puerto IP.
Replies: 2
Views: 958

rpreview class in FWH 13.08

... when my report is 1 or 2 pages long. But if I have a report of 3 or more pages, I got the error : "Unrecoverable error 9006 : hb_xgrab can't allocate memory" After this error, my application is quited. Anyone any idea why this is happening? Thanks a lot in advance.
by driessen
Tue Sep 17, 2013 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: rpreview class in FWH 13.08
Replies: 19
Views: 2439

Re: SavetoPDF problem

nageswaragunupudi wrote:I am trying to guess.
Is MS Word installed on the PC? If installed what is the version?
Is Sun OpenOffice installed on the system?


Neither of these are installed on this system (Windows XP SP3).

I also get "unrecoverable error 9006", hb_xgrab can't allocate memory.

Thanks,
Randal
by Randal
Sun Feb 03, 2013 3:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SavetoPDF problem
Replies: 2
Views: 741

SOLVED: Re: Can't allocate console

The problem is solved in this way: #include "Fivewin.ch"#include "Report.ch"#xcommand ? <x> => ConOut( <x> )FUNCTION MAIN()   ContentType()  ?  ? [<HTML>]  ? [<BODY>]  ? [<HEAD>]  ? [ Hello World...
by MarcoBoschi
Thu Jan 17, 2013 5:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can't allocate console
Replies: 2
Views: 449

Re: Can't allocate console

In XP instead it works fine
by MarcoBoschi
Thu Jan 17, 2013 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can't allocate console
Replies: 2
Views: 449
PreviousNext

Return to advanced search