FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
HFBackup in WinDEV 19
HFBackup in WinDEV 19
Débuté par Steven Sitas, 18 déc. 2014 13:30 - 4 réponses
Connectez-vous…
Steven Sitas
#1
Posté le 18 décembre 2014 - 13:30
Hi,
the following code works just fine in a WD17application and a HFSQL v17 database:
// Describe an immediate backup
Backup_Doc is hBackupDescription
Backup_Doc..Description = "Doc Backup"
Backup_Doc..WithIndex = True
Backup_Doc..ProgressBar = "PROGBAR_ProgBarHand"
Backup_Doc..Destination =MyDirectory
Backup_Doc..Source = "*"
Backup_Doc..LimitNumberBackups = 0
// Save the backup
nMyBackup=HBackup(myconnect, Backup_Doc)
///////////////////////////////////////////////////////////////////////
When I upgrade this app/code to WD19 and HFSQL 19 - it gives an error - near the end of the backup - saying .."Not enough storage is available to process this command(<img src="/NG2013_WEB/ui/smiley/7.gif" align=absmiddle border=0 alt="8)">".
and an errorcode 70151 (which means INSUFFICIENT MEMORY)
I get the same error with the WD19 app and HFSQL 17 ....
Any Ideas ?
Signaler
0
0
Ned!
#2
Posté le 18 décembre 2014 - 14:25
Hi Steven,
The error message reads like it it has two meanings:
1) Not enough memory
2) Not enough hard disk space...
Quote
Insufficient memory to complete the operation.
Close one or more applications or free disk space and repeat the operation.
I know its a basic question, but do you have space on your drive for the backup file?
Thanks
Ned!
Signaler
0
0
Steven Sitas
#3
Posté le 18 décembre 2014 - 18:32
Hi Ned,
yes I have a lot of space.
I sent a report to PCSoft about the problem, but in the meantime I bypassed the problem changing this: Backup_Doc..Source = "*"
to Backup_Doc..Source = "myDatabase/*"
It is a resource problem of some kind, but not a problem with disk space.
I also forgot to say that it happens with HFSQL 32bit and 64 bit
Signaler
0
0
Ola
#4
Posté le 22 décembre 2014 - 13:44
Hi Steven,
What is the OS? If it is Win 8 or Win8.1, then it may be a problem with the OS. I have seen similar kinds of (wrong) errors (not enough disk space) in some other software too, when moving from an earlier Windows to 8.
Best regards
Ola
Signaler
0
0
Steven Sitas
#5
Posté le 22 décembre 2014 - 14:19
Hi Ola,
I tested it and it happens on Windows 2012R2 Server (also 2008R2) and Windows 7, Windows 8 and 8.1 !!!!
The same code compiled with V17, works just fine.
My original code (the one I posted) did a FULL backup of the server (all its databases, log files etc).
According to PCSoft support the only thing I can do is upgrade the "server" - for me this means more RAM - but I already have 16 GB !!!!
And say I go to 32 GB - what happens if after that I need more RAM ?
I would assume that if this was a RAM problem, PCSoft could use "Virtual RAM" like the hard disk to bypass the problem. We have plenty of free hard disk storage - but RAM?
Since I am not optimistic - to get a solution from PCSoft -I am now just doing a backup one database each time ...
Steven Sitas
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte