LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-05-2012, 12:04 PM   #1
Stepo
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Rep: Reputation: Disabled
Export from MySQL to XML - question about memory


Hi there!
I have small a problem. I've installed a tool for my shop - exporter for catalogue servers, where I can show my sortiment (you know Google shopping and others...). I have 1,5k items in DB, and when export tool beggins, it loads everything into array, then ram is full, when ram is full, caching starts - processor is on 99% and server drops.
I have an idea to do my own exporter, that will write the XML structure with echo into browser's window one product after another, without allocating much ram(I need to avoid of loading all in RAM) . Do you have some ideas, how to do it with the lowest hardware requirements?

Thank you for your advices!
Stepo

Last edited by Stepo; 10-05-2012 at 12:06 PM.
 
Old 10-07-2012, 10:52 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
If you've solved the problem, posting the solution so that other people can benefit from the solution would be nice

Thanks,
 
  


Reply

Tags
memory, mysql, php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL to XML including data, DTD and XML Schema rm_-rf_windows Linux - General 0 10-01-2012 04:04 PM
using ksh export VISUAL=vi folwed by <esc>/search causes Memory Fault JohnFThomson Linux - Software 1 11-04-2009 12:56 PM
LXer: Learn to Export Database Schema as XML in PHP LXer Syndicated Linux News 0 02-12-2007 01:54 PM
Mysql Export petenyce Programming 1 09-29-2005 01:04 PM
C++ question: MySQL or XML? BlackT Programming 7 07-21-2003 07:46 AM


All times are GMT -5. The time now is 01:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration