Bug 75206 [Import/Export] Export large file using Export filesystem wizard causes OutOfMemory
I have a project which creates a large output file (a filesystem image). Eclipse reports the size as 409600000 bytes. If I try to export this file using the Export->File System wizard, I quickly get an out of memory error. I set the max heap size to 256M (-Xmx256M).
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/FileSystemExporter.java
/**
     *  Creates the specified file system directory at <code>destinationPath</code>.
     *  This creates a new file system directory.
     */
    public void createFolder(IPath destinationPath) {
        new File(destinationPath.toOSString()).mkdir();
    }
    /**
     *  Writes the passed resource to the specified location recursively
     */
    public void write(IResource resource, IPath destinationPath)
            throws CoreException, IOException {