Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ObjectFactory and Java5 memory monitoring support. Now when using Java5, if a query is using "too much" memory a MemoryLimitExceededException is thrown rather than an OutOfMemoryError. [git-p4: depot-paths = "//open/mondrian/": change = 8645]
- Loading branch information
Richard Emberson
committed
Feb 3, 2007
1 parent
efb6af7
commit 7d0a8f2
Showing
17 changed files
with
1,612 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
// $Id$ | ||
// This software is subject to the terms of the Common Public License | ||
// Agreement, available at the following URL: | ||
// http://www.opensource.org/licenses/cpl.html. | ||
// Copyright (C) 2004-2005 TONBELLER AG | ||
// All Rights Reserved. | ||
// You must accept the terms of that agreement to use this software. | ||
*/ | ||
package mondrian.olap; | ||
|
||
/** | ||
* Exception which indicates some resource limit was exceeded. | ||
* When a client receives a <code>MemoryLimitExceededException</code> the state | ||
* of the objects associated with the query execution can NOT be | ||
* counted on being correct - specifically data structures could be | ||
* in an inconsistent state or missing entirely. No attempt should be | ||
* make to access or use the result objects. | ||
* | ||
* @version $Id$ | ||
*/ | ||
public class MemoryLimitExceededException | ||
extends ResultLimitExceededException { | ||
|
||
public MemoryLimitExceededException(String message) { | ||
super(message); | ||
} | ||
} | ||
|
||
// End MemoryLimitExceededException.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.