View Issue Details

IDProjectCategoryView StatusLast Update
0008772mantisbtadministrationpublic2024-10-06 16:19
ReporterPatPowerMan Assigned Todregad  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
Product Version1.1.1 
Summary0008772: Move Attachments to Disk: Not enough memory to export - How can I fix this?
Description

Our bugtracker-DB is around 1.6GB - most of the size is made by the attachments.
Now we would like to export them.

As an administrator a I call the http://Path-to-mantis/admin/system_utils.php page and press the "Move the Attachment to Disk"-Button.
(I know, that I have to change the entry in the config_defaults_inc.php
$g_file_upload_method = DISK;
and set the path for the export
$g_absolute_path_default_upload_folder = 'd:\export';
)

After some minutes, the memory of my machine is extreeemly high (more then 1,8GB!) and then I get the following error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4913797 bytes) in D:\webserver\htdocs\mantis\admin\move_db2disk.php on line 128

This gives me the following problems:

a) How can I avoid this memory-problem and 'allocate' more space?
b) Why is my configured export-path 'D:\export' ignored?
c) From the 4700 attachments only 671 are really written to the above (long) path, then the memory-error occurs. How can I export the missing 4100 files?

TagsNo tags attached.

Relationships

related to 0015496 closeddregad Script to move attachments from db to disk not working 

Activities

PatPowerMan

PatPowerMan

2008-01-19 12:55

reporter   ~0016723

We found another Problem:
The (german) vowels in the filenames are not correct.

We get filenames like
Namenänderung
but we expect
Namenänderung

Some other examples:
Gebühren (Gebühren)
Lösung (Lösung)

How can I fix this?

dregad

dregad

2024-09-24 05:57

developer   ~0069265

We are resolving this issue as "no change required", because it was reported against an old version of MantisBT which is no longer supported.

The move_db2disk.php script was completely rewritten in 1.2.16, see 0015496

We recommend that you upgrade to the latest stable version [1]; if the problem persists after doing so, do not hesitate to reopen the issue.

[1] https://mantisbt.org/download.php