Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002306OCamlOCaml generalpublic2004-03-03 11:062004-06-19 21:28
Reporteradministrator 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002306: resource consumption when compiling arrays
DescriptionFull_Name: Achim Blumensath
Version: 3.07
OS: Linux
Submission from: igloo.labri.fr (147.210.9.44)


I've noticed that ocamlopt uses a lot of time, memory, and
stack space when compiling arrays. It seems that some of the
functions used to compile arrays are not tail-recursive.

I have one file solely consisting of about 2000 arrays of
size 256 containing strings, integers, or pointers to some
of the other arrays. To compile this file, ocamlopt needs
several minutes and between 16k and 32k of stack space. With
256 MB of memory it even starts swapping at the end of the
compilation. I can provide the source code if needed.


TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000206)
administrator (administrator)
2004-04-01 15:59

Should check where the time is spent and whether there is something obviously
fixable. But input file is huge and it's not surprising ocamlopt takes time on
it.

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker