Homec4science

Modified script to commit smaller batches of symbols to the database.

Authored by William R. Otte <wotte@dre.vanderbilt.edu> on Nov 18 2013, 01:33.

Description

Modified script to commit smaller batches of symbols to the database.

Summary:
Modified the import script so it will only try to load a configurable
number of symbols at a time to avoid exhausting memory for large project
imports.

I haven't written a line of PHP in more than a decade, so please forgive
any stylistic or technical errors.

Test Plan: Ran the script on symbol table generated from linux kernel.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4117

Differential Revision: https://secure.phabricator.com/D7596

Details

Committed
epriestley <git@epriestley.com>Nov 18 2013, 01:33
Pushed
aubortJan 31 2017, 17:16
Parents
rPH965c2e6732b5: Add a default "Subscribed" query to Maniphest
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH7d43e5911066: Modified script to commit smaller batches of symbols to the database. (authored by William R. Otte <wotte@dre.vanderbilt.edu>).Nov 18 2013, 01:33