[Webkit-unassigned] [Bug 38529] New: Link gives an out of memory when it builds a release version on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 4 10:39:32 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38529

           Summary: Link gives an out of memory when it builds a release
                    version on Windows
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P3
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: genar.codina at gft.com


build-webkit script does not build the "WebKit.dll" when compiling a Release
version (build-webkit --debug creates a "WebKit.dll" without any problem).

Looking at the "BuilLog" file, you can see information like:
XXWebCoreXX (or XXWebKitXX), and it is possible to see more information of the
error going to the correspondig .html file; however, this file does not provide
an accurate information. To see what really happens it is necessary to open the
"WebKit.sln" project and compile it in mode "Release". Doing so, sooner o later
it will appear the really error; that is, when the process of linking achieves
1 Giga of memory, it is shown the real error: "link Out of memory".

I have reproduced the same error using Windows XP machines with 1, 2 and 3
Gigabytes of memory and also using both, Visual Studio C++ 2005 express and
develop editions.

There is an easy solution for this problem; that is, disable any debug option
in the "Release" configuration (like building .pdb files) in any of the
projects included in the "WebKit.sln" solution; that is, click the right button
on every project and do:
1) Select "Properties"
2) "Configuration Properties" --> "C++" --> "Debug Information Format": This
option must set to "Disabled"
2.3) "Configuration Properties" --> "Linker" -->"Debugging"-->"Generate Debug
Info": This options must be set to "No"
2.3) "Configuration Properties" --> "Linker" -->"Debugging"-->"Generate Program
Database File": Empty this field.

Making the previous settings it is built the release "WebKit.dll" without any
problem.

I do not really understand the "Out of memory" error during the linkage
process, but the previous steps can solve the problem.

Regards,

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list