Нет ничего, что я знаю этого, может сделать это без Вас, по крайней мере, пишущий определенный код... Вам будут нужны 2 отдельных библиотеки:
синтаксический анализатор CSV я рекомендовал бы (если Вы не хотите повеселиться для записи собственный Синтаксический анализатор CSV) OpenCSV (Проект SourceForge для парсинга Данных CSV)
, Платформа Сериализации XML должна быть чем-то, что может масштабироваться в случае, если Вы хотите преобразовать большой (или огромный) файл CSV к XML: Моя рекомендация является Java Sun, Передающим Платформу Синтаксического анализатора XML потоком (См. здесь ), который позволяет парсинг получения по запросу И сериализацию.
Some misses are to be expected.
Hits = things are in cache
Miss = things not (yet) in cache. New or less-used things will always be a miss, so you'll always expect some.
You may need to tune how much memory you're dedicating to APC - Its sort of a guessing game, balancing how much memory your machine has and how much you 'usually' have filled in APC (it should tell you a amount or percent full). You'll have to tweak various values to see. An OK baseline is a compressed version of all your source code at like gzip level 2 - assume you're taking out comments and variable names and stuff, and you'll never get over that. Then you can figure out how much to dedicate to the cache.
If you're using APC for key-value caching as well, that will fill up faster than just code caching - and you'll expect to fill it up eventually. You'll then need to find an amount that gives a miss ratio you're comfortable with.