LazyDOM - Transparent Partial DOM Loading and Unloading for Memory Restricted Environments

Daniel Peintner, Richard Kuntschke, Jörg Heuer, Harald Kosch

2011

Abstract

Processing XML documents using the Document Object Model (DOM) usually requires loading the entire document into an in-memory DOM prior to processing. Since the in-memory size of a DOM generally is a multiple of the original XML document size, the resulting DOM often consumes a lot of memory and might not even fit into the available memory on memory restricted devices. The LazyDOM approach presented in this paper divides a DOM into XML fragments and loads or unloads these fragments transparently on demand during processing. Thus, the LazyDOMonly loads the parts of a DOMthat are actually currently needed by an application and unloads them if they are no longer required and memory needs to be freed for other processing tasks. Besides enabling DOM-based processing of large XML documents on memory restricted devices, this approach is able to reduce the amount of memory required for DOMprocessing at any given time and can also increase the performance of DOM loading if only parts of a DOM are actually needed by an application.

Download


Paper Citation


in Harvard Style

Peintner D., Kuntschke R., Heuer J. and Kosch H. (2011). LazyDOM - Transparent Partial DOM Loading and Unloading for Memory Restricted Environments . In Proceedings of the 7th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST, ISBN 978-989-8425-51-5, pages 98-105. DOI: 10.5220/0003338100980105

in Bibtex Style

@conference{webist11,
author={Daniel Peintner and Richard Kuntschke and Jörg Heuer and Harald Kosch},
title={LazyDOM - Transparent Partial DOM Loading and Unloading for Memory Restricted Environments},
booktitle={Proceedings of the 7th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,},
year={2011},
pages={98-105},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0003338100980105},
isbn={978-989-8425-51-5},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 7th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,
TI - LazyDOM - Transparent Partial DOM Loading and Unloading for Memory Restricted Environments
SN - 978-989-8425-51-5
AU - Peintner D.
AU - Kuntschke R.
AU - Heuer J.
AU - Kosch H.
PY - 2011
SP - 98
EP - 105
DO - 10.5220/0003338100980105