On Thu, 25 Oct 2012, Ulrich Wilkens wrote:

> On 10/24/12 17:49, Marcin Cieslak wrote:
> > It takes, however, some insane amount of space.
> > My process stops because of lack of disk space
> > at around 7 gigabytes in doc/tmp
> >
> > Did anyone tried building guides as well?
> > Can you confirm that files generated are quite
> > large?
> 
> I'm afraid I can't give a good answer to this. Till now I've
> skipped building of the man page part of guides (simply by
> deleting the Hasman line in guides/Imakefile).
> And building of the books still has problems near the end.
> But the intermediate book files are not too large. The largest
> one is 23 MB at the moment.
> So I can't believe that 7 gig is ok. By the way, did they
> have such large disks in the Nineties?

I have added the --keep option to 

$(DGENV) $(DTINFOGEN) build --keep -T $(DTINFOGENTMPDIR) $(DTINFOGENOPTIONS) 
$(DGOPTS) $(SSENTS) -l $(INFOLIB) bookcase.bc

and it seems like files are huge and broken indeed:

total 27026188
-rw-rw-r--  1 saper  saper         2014 25 paź 10:52 BookMeta
-rw-rw-r--  1 saper  saper       124105 25 paź 10:52 ContentsPath
-rw-rw-r--  1 saper  saper       167982 25 paź 10:52 ContentsTree
-rw-rw-r--  1 saper  saper   2800028078 25 paź 10:52 Graphics
-rw-rw-r--  1 saper  saper       627021 25 paź 10:52 Locator
-rw-rw-r--  1 saper  saper       262431 25 paź 10:52 NodeMeta
-rw-rw-r--  1 saper  saper  11021636119 25 paź 10:52 NodeSGML
-rw-rw-r--  1 saper  saper      3637249 25 paź 10:41 StyleSheet
drwxrwxr-x  2 saper  saper          512 25 paź 10:41 dtsearch
-rw-rw-r--  1 saper  saper           50 25 paź 10:52 tmp.1
-rw-rw-r--  1 saper  saper      3964929 25 paź 10:52 tmp.2

./dtsearch:
total 10976
-rw-rw-r--  1 saper  saper  5589982 25 paź 10:52 CDEDOC.fzk

After providing enough disk space I get:

LANG=C SGML_SEARCH_PATH=".:.." 
LD_LIBRARY_PATH=../../../exports/lib:../../../imports/motif/lib:../../../imports/x11/lib
 DTLCXSEARCHPATH=../../../lib/DtHelp 
DTINFO_HOME=../../../programs/dtinfo/dtinfogen 
DTINFO_BIN=../../../programs/dtinfo/dtinfogen/install:../../../programs/dtinfo/dtinfogen/mmdb/StyleSheet:../../../programs/dtinfo/dtinfogen/mmdb/src:../../../programs/nsgmls:../../../programs/dtsr
 ../../../programs/dtinfo/dtinfogen/infolib/etc/dtinfogen build --keep -T 
../../../doc/tmp -n cde -d "CDE and Motif Information Library"  -m 
common/catalog -l ../cde.dti bookcase.bc
dtinfogen: deleting existing ../cde.dti/CDEDOC ...
DtInfo Toolkit: **Internal Error** at DataBase.C:540: assertion failed: io == 1
*** Internal Error ***: unexpected exception
dtinfogen: command failed: NCFGen -load-style CDEDOC ../../../doc/tmp/otk.1 > 
../../../doc/tmp/otk.1/tmp.2
*** [../cde.dti/CDEDOC/dtsearch/dtsearch.ocf] Error code 255

This is about sscanf() not being able to get a number where it
should be in the file.

tmp.1 contains only 

BookCase name: `CDEDOC' desc: `CDE Documentation'

Inside of the NodeSGML file I see lots of 0xa5 bytes
and 'Z' bytes which indicate uninitialized memory
in my malloc() implementation. 


//Marcin

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to