Candidates running for election to the Virginia General Assembly this year have amassed more than $12 million for their races, according to an analysis released Tuesday by the Virginia Public Access Project, a non-partisan tracker of money in politics.

In Senate, where Democrats hold a narrow majority, Democrats and Republican candidates each have about $3.5 million cash on hand.

In the House, where Republicans hold a commanding 61-seat majority, GOP candidates have $3.9 million while Democratic candidates have about $1.8 million.

Republicans, looking to win back the Senate and pick up seats in the House, have far more candidates running than the Democrats.

Figures released this week are for the period that ended Aug. 10, the final reporting before the Aug. 23 primary. But they do not include the political action committees of Gov. Bob McDonnell (R), House Speaker Bill Howell (R-Stafford) and others, which do not report until later this year.

More than half of next week’s primaries are in Northern Virginia, and the region boasts the most expensive primaries.

The three candidates in the 30th Senate District, which is being vacated by Sen. Patsy Ticer (D) and includes parts of Arlington and Fairfax as well as Alexandria, have raised the most — $725,356. Del. Adam Ebbin (D-Alexandria) faces Arlington School Board member Libby Garvey and Alexandria City Council member Rob Krupicka. in a Democratic primary.

The two candidates in the 31st Senate District, which is being vacated by Sen. Mary Margaret Whipple (D) and includes parts of Arlington, Fairfax and Loudoun counties, have raised $620,887. Arlington County Board member Barbara Favola faces Jaime Areizaga-Soto, who formerly worked at the U.S. Agency for International Development, in a Democratic primary.

In the primary for the new 87th House District, which includes Loudoun and Prince William, Jo-Ann Chase, a real estate broker who serves on the Republican Party's State Central Committee and David Ramadan, an international consultant who is on the George Mason University Board of Visitors, have raised the most — $278,199.

In the new 10th District, which includes Clarke, Frederick and parts of Loudoun, Republicans have a three-way primary. Lawyers Randy Minchew and John Whitbeck face Cara Townsend, a small-business owner. They have raised $253,052.